diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-01-03 18:09:08 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-01-03 18:09:08 -0500 |
commit | f9b25d306b66bbafdbf9656103b41fbb83836d03 (patch) | |
tree | 79a0d31e66bcee88e076b309ebc596716a7982a9 /Makefile | |
parent | 3862b2dab5c2470ead393cd0e1b4098e8a5d40a9 (diff) | |
download | seabios-f9b25d306b66bbafdbf9656103b41fbb83836d03.tar.gz |
Fix vgahook sign issue; add warning to build to catch future cases.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,7 +25,8 @@ cc-option = $(shell if test -z "`$(1) $(2) -S -o /dev/null -xc \ /dev/null 2>&1`"; then echo "$(2)"; else echo "$(3)"; fi ;) # Default compiler flags -COMMONCFLAGS = -Os -MD -Wall -Wold-style-definition -Wno-strict-aliasing \ +COMMONCFLAGS = -Os -MD -Wall -Wno-strict-aliasing -Wold-style-definition \ + $(call cc-option,$(CC),-Wtype-limits,) \ -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 \ -mrtd -minline-all-stringops \ -freg-struct-return -ffreestanding -fomit-frame-pointer \ |