From 5343265256275893914612a2328978ea6af71bff Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Sun, 16 Nov 2014 15:25:23 +0000 Subject: Only set CC__ if we're cross compiling --- makefiles/Makefile.tools | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'makefiles/Makefile.tools') 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) -- cgit v1.2.3