diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-13 12:33:21 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-13 12:33:21 +0100 |
commit | 805e712bf04f55a6fb1c27d40d7917fa7f6ac43f (patch) | |
tree | 2aedd7bc3466924e0ed2ea52d2a780523c6b1f87 /makefiles/gmake/compiler.mk | |
parent | 174f62bcf9707dfa26cf6d2dc0888198c36428d4 (diff) | |
download | wolfbones-805e712bf04f55a6fb1c27d40d7917fa7f6ac43f.tar.gz wolfbones-805e712bf04f55a6fb1c27d40d7917fa7f6ac43f.tar.bz2 |
added pcc support
Diffstat (limited to 'makefiles/gmake/compiler.mk')
-rw-r--r-- | makefiles/gmake/compiler.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk index 1d1bce3..e77e6d7 100644 --- a/makefiles/gmake/compiler.mk +++ b/makefiles/gmake/compiler.mk @@ -197,6 +197,19 @@ endif # end of spro section +# start of pcc section + +# currently we don't need this, the pcc flags are fairly consistent +#PCC_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --pcc-major-version $(CC) "$(CURDIR)" $(TOPDIR)) +#PCC_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --pcc-minor-version $(CC) "$(CURDIR)" $(TOPDIR)) + +ifeq "$(COMPILER)" "pcc" +COMPILE_FLAGS = \ + --fatal-warnings +endif + +# end of pcc section + # set flags for threading support using POSIX threads. This is completly different # between compiler/platforms ifeq "$(COMPILER)" "gcc" |