diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-18 14:46:48 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-18 14:46:48 +0100 |
commit | 3943db776371b40e0c93e1244669bc9b78f8bbf1 (patch) | |
tree | 67ece81d381d8449636c719a8c7dca723f50d1e7 /Config.mk | |
parent | 946eb2a9da1f63f87656726152ab427e112e392d (diff) | |
download | xen-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.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |