aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-02-19 22:21:45 -0600
committerRob Landley <rob@landley.net>2012-02-19 22:21:45 -0600
commitfcf188ffdba160303c1e8e59819239d3bf9f31ad (patch)
treef44cb5859b5c5456b83767db568dd6fd44fe701d /Makefile
parent4c9ac8ee7d85b630618ed0b7b87084d9d014ec00 (diff)
downloadtoybox-fcf188ffdba160303c1e8e59819239d3bf9f31ad.tar.gz
Set HOSTCC only if it isn't already set as an environment variable.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e4d88828..d9925d79 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ $(KCONFIG_TOP): generated/Config.in
generated/Config.in: toys/*.c scripts/genconfig.sh
scripts/genconfig.sh
-HOSTCC:=cc
+HOSTCC?=cc
# Development targets
baseline: toybox_unstripped