aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 14:46:48 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 14:46:48 +0100
commit3943db776371b40e0c93e1244669bc9b78f8bbf1 (patch)
tree67ece81d381d8449636c719a8c7dca723f50d1e7 /Config.mk
parent946eb2a9da1f63f87656726152ab427e112e392d (diff)
downloadxen-3943db776371b40e0c93e1244669bc9b78f8bbf1.tar.gz
xen-3943db776371b40e0c93e1244669bc9b78f8bbf1.tar.bz2
xen-3943db776371b40e0c93e1244669bc9b78f8bbf1.zip
[XEN] Can be built -std=gnu99 (except for .S files).
Need to be careful with static initialisers: 1. *_LOCK_UNLOCKED, CPU_MASK_* no longer include a cast 2. Dynamic uses of the above are replaced by appropriate function invocations. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.mk b/Config.mk
index 4f1b1f7c1a..e626a26283 100644
--- a/Config.mk
+++ b/Config.mk
@@ -34,6 +34,8 @@ else
CFLAGS += -g
endif
+CFLAGS += -std=gnu99
+
CFLAGS += -Wall -Wstrict-prototypes
# -Wunused-value makes GCC 4.x too aggressive for my taste: ignoring the