diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-13 10:07:31 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-13 10:07:31 +0100 |
commit | 174f62bcf9707dfa26cf6d2dc0888198c36428d4 (patch) | |
tree | 3294cbde4a78a3bb34190f3fc5f2637a5b96f32e /makefiles | |
parent | e1d36106a4b4c06a2a40cac9732de78a3aec8cce (diff) | |
download | wolfbones-174f62bcf9707dfa26cf6d2dc0888198c36428d4.tar.gz wolfbones-174f62bcf9707dfa26cf6d2dc0888198c36428d4.tar.bz2 |
fixed compilation on Solaris with a new flag STD99_COMPILE_FLAGS
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/gmake/compiler.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk index a3ae88f..1d1bce3 100644 --- a/makefiles/gmake/compiler.mk +++ b/makefiles/gmake/compiler.mk @@ -83,9 +83,12 @@ endif endif +STD99_COMPILE_FLAGS = \ + -std=c99 + COMPILE_FLAGS = \ $(COMMON_COMPILE_FLAGS) \ - -std=c99 \ + $(STD99_COMPILE_FLAGS) \ -Wnonnull \ -Wbad-function-cast -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ @@ -186,8 +189,10 @@ endif # TODO: enable -O2 ifeq "$(COMPILER)" "spro" +STD99_COMPILE_FLAGS = \ + -xc99=all COMPILE_FLAGS = \ - -xc99=all -Xc -errwarn=%all -mt -v + $(STD99_COMPILE_FLAGS) -Xc -errwarn=%all -mt -v endif # end of spro section |