summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-25 20:53:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-25 20:53:43 +0100
commita504b3f95d8751e32d44fc68c29c99fdc2d707a1 (patch)
tree906f13482f2af9c658182c452957a8527c59192b /scripts
parent977956e6dbde952f72031c5c2035c9d9685cee88 (diff)
entirely drop HOSTCC stuff
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh3
1 files changed, 1 insertions, 2 deletions
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