From 46dc73a57d569bc036c36d922f2699e725b5c1aa Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 9 Mar 2011 10:39:17 -0800 Subject: [PATCH] Add no-strict-aliasing to genl The genl code uses constructs which violate the strict aliasing constraints of gcc 4.4. Disable the optimization to avoid warnings and potential breakage. --- genl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/genl/Makefile b/genl/Makefile index 44bb83c..03d1f26 100644 --- a/genl/Makefile +++ b/genl/Makefile @@ -3,6 +3,8 @@ GENLOBJ=genl.o include ../Config SHARED_LIBS ?= y +CFLAGS += -fno-strict-aliasing + GENLMODULES := GENLMODULES += ctrl.o -- 2.39.2