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.
This commit is contained in:
Stephen Hemminger 2011-03-09 10:39:17 -08:00 committed by Stephen Hemminger
parent 2230ac1d18
commit 46dc73a57d

View File

@ -3,6 +3,8 @@ GENLOBJ=genl.o
include ../Config
SHARED_LIBS ?= y
CFLAGS += -fno-strict-aliasing
GENLMODULES :=
GENLMODULES += ctrl.o