Make: We must build with -fno-strict-aliasing
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 18 Oct 2011 01:33:25 +0000 (12:33 +1100)
committerTony Breeds <tony@bakeyournoodle.com>
Tue, 18 Oct 2011 04:11:10 +0000 (15:11 +1100)
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Makefile

index 04c03ab202ae3b50b0f79bed1549cf338ab7df7a..88fe0dff24b15892fe8b69b35691ab44072177f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE)
 YBCFLAGS += -DKERNELADDR=$(KERNELADDR)
 YBCFLAGS += -Werror -fdiagnostics-show-option
 YBCFLAGS += -I ./include
+YBCFLAGS += -fno-strict-aliasing
 
 ifeq ($(CONFIG_COLOR_TEXT),y)
 YBCFLAGS += -DCONFIG_COLOR_TEXT