summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefiles/Makefile.tools5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index 86ab68b..801c8c4 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -72,9 +72,6 @@ ifeq ($(HOST),)
endif
endif
-# Make first-stab at identity of CC
-CC__ := $(CC)
-
ifeq ($(HOST),$(BUILD))
# Native build
@@ -103,6 +100,8 @@ ifeq ($(HOST),$(BUILD))
else
# Cross compiling
+ # Make first-stab at identity of CC
+ CC__ := $(CC)
# Improve our guess at the identity of CC
# (only if CC was not specified by the user)
ifeq ($(origin CC),default)