]> xenbits.xensource.com Git - seabios.git/commitdiff
Silence the strict-aliasing warnings that older compilers emit.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 4 Jan 2009 16:15:36 +0000 (11:15 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 4 Jan 2009 16:15:36 +0000 (11:15 -0500)
Makefile

index 220eafa1442af144aa70756919c106de1a2156e5..4c1b516e6c0bee3def0e587033ea79cad56af792 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ cc-option = $(shell if test -z "`$(1) $(2) -S -o /dev/null -xc \
 COMMONCFLAGS = -Wall -Os -MD -m32 -march=i386 -mregparm=3 \
                -mpreferred-stack-boundary=2 -mrtd \
                -ffreestanding -fwhole-program -fomit-frame-pointer \
-               -fno-delete-null-pointer-checks
+               -fno-delete-null-pointer-checks -Wno-strict-aliasing
 COMMONCFLAGS += $(call cc-option,$(CC),-nopie,)
 COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
 COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)