From a504b3f95d8751e32d44fc68c29c99fdc2d707a1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Jan 2011 20:53:43 +0100 Subject: entirely drop HOSTCC stuff --- scripts/scan-tools.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 2ad569de0..7d6d73e53 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -72,11 +72,10 @@ set +e cat >Makefile <<'EOF' include ${TOPDIR}/prereq.mk -HOSTCFLAGS+= -O2 all: run-test test: test.c - ${HOSTCC} ${HOSTCFLAGS} -o $@ $^ ${LDADD} + ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} -o $@ $^ ${LDADD} run-test: test ./test -- cgit v1.2.3