diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-09 10:39:17 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-04-12 14:23:06 -0700 |
commit | 46dc73a57d569bc036c36d922f2699e725b5c1aa (patch) | |
tree | 87bbb0941b564341799052e6fe6c2311961441c6 /genl | |
parent | 2230ac1d1871b121284cb163fdf54062663d1ceb (diff) | |
download | iproute2-46dc73a57d569bc036c36d922f2699e725b5c1aa.tar.gz |
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.
Diffstat (limited to 'genl')
-rw-r--r-- | genl/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/genl/Makefile b/genl/Makefile index 44bb83cd..03d1f26a 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 |