From 1223578c94c1d409af481dd7af2fb84261c20c62 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 5 Oct 2015 20:47:49 -0500 Subject: Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.) --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 38b4120e..5422efed 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ # If people set these on the make command line, use 'em # Note that CC defaults to "cc" so the one in configure doesn't get # used when scripts/make.sh and care called through "make". + +HOSTCC?=cc + export CROSS_COMPILE CFLAGS OPTIMIZE LDOPTIMIZE CC HOSTCC V all: toybox @@ -25,8 +28,6 @@ $(KCONFIG_TOP): generated/Config.in generated/Config.in: toys/*/*.c scripts/genconfig.sh scripts/genconfig.sh -HOSTCC?=cc - # Development targets baseline: toybox_unstripped @cp toybox_unstripped toybox_old -- cgit v1.2.3