Make: We must build with -fno-strict-aliasing
[yaboot.git] / 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