summaryrefslogtreecommitdiff
path: root/makefiles/gmake/compiler.mk
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-02 10:59:16 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-02 10:59:16 +0100
commitc2805aa3ff0ca390553ce8a103d0926a37d960c2 (patch)
treef98833dc4933c20ac5cd615fad5545de796b7ab1 /makefiles/gmake/compiler.mk
parent1d99bd87f762f8a2daad14afda88748c9e3815d6 (diff)
downloadwolfbones-c2805aa3ff0ca390553ce8a103d0926a37d960c2.tar.gz
wolfbones-c2805aa3ff0ca390553ce8a103d0926a37d960c2.tar.bz2
first version of a platform.mk.vars cache to speed up the build
Diffstat (limited to 'makefiles/gmake/compiler.mk')
-rw-r--r--makefiles/gmake/compiler.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk
index 623c6a2..e88ad79 100644
--- a/makefiles/gmake/compiler.mk
+++ b/makefiles/gmake/compiler.mk
@@ -15,8 +15,8 @@
ifeq "$(COMPILER)" "gcc"
-GCC_MAJOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --gcc-major-version $(CC))
-GCC_MINOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --gcc-minor-version $(CC))
+GCC_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --gcc-major-version $(CC))
+GCC_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --gcc-minor-version $(CC))
# -Wswitch-default: not good for switches with enums
# -Wsystem-headers: bad idea, as header files are usually happily broken :-)
@@ -151,8 +151,8 @@ endif
# start of tcc section
# currently we don't need this, the tcc flags are fairly consistent
-#TCC_MAJOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --tcc-major-version $(CC))
-#TCC_MINOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --tcc-minor-version $(CC))
+#TCC_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --tcc-major-version $(CC))
+#TCC_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --tcc-minor-version $(CC))
ifeq "$(COMPILER)" "tcc"
COMPILE_FLAGS = \
@@ -164,8 +164,8 @@ endif
# start of icc section
# currently we don't need this, the icc flags are fairly consistent
-#ICC_MAJOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --icc-major-version $(CC))
-#ICC_MINOR_VERSION = $(shell $(TOPDIR)/makefiles/gmake/guess_env --icc-minor-version $(CC))
+#ICC_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --icc-major-version $(CC))
+#ICC_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --icc-minor-version $(CC))
# -vec-report0: turn of SSE2 vector usage messages (they are common since P-4 anyway!)