aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-04 11:15:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-04 11:15:36 -0500
commit7bb3253a0545c551ff25cc66dddf914a6f4a2928 (patch)
tree3b43f332c1fcdc86176e3772645d36f619c1ef48
parent7cccf542f9a1f6d6d25e0b8a6db11c58530a0a61 (diff)
downloadseabios-hppa-7bb3253a0545c551ff25cc66dddf914a6f4a2928.zip
seabios-hppa-7bb3253a0545c551ff25cc66dddf914a6f4a2928.tar.gz
seabios-hppa-7bb3253a0545c551ff25cc66dddf914a6f4a2928.tar.bz2
Silence the strict-aliasing warnings that older compilers emit.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 220eafa..4c1b516 100644
--- 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,)