diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-09 21:17:45 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-09 21:17:45 +0100 |
commit | 326450f67e011c6cb6ced17c8dcb5e7a8442057d (patch) | |
tree | cee4a75a40c795a063b54ee703fcf9cf0ade0785 /Config.mk | |
parent | e2b8c751654956aef727ec7ee17091cd8e0938ac (diff) | |
download | xen-326450f67e011c6cb6ced17c8dcb5e7a8442057d.tar.gz xen-326450f67e011c6cb6ced17c8dcb5e7a8442057d.tar.bz2 xen-326450f67e011c6cb6ced17c8dcb5e7a8442057d.zip |
Clean up the usage of CFLAGS. This is nice for packagers, who would
like to control the base compilation flags from a central place.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ endif test-gcc-flag = $(shell $(1) -v --help 2>&1 | grep -q " $(2) " && echo $(2)) +CFLAGS += -Wall + HOSTCFLAGS += $(call test-gcc-flag,$(HOSTCC),-Wdeclaration-after-statement) CFLAGS += $(call test-gcc-flag,$(CC),-Wdeclaration-after-statement) |