aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rw-r--r--configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c9990f27..9b7bb365 100644
--- a/configure
+++ b/configure
@@ -8,6 +8,7 @@
[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts"
CFLAGS="$CFLAGS -funsigned-char"
[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections"
-[ -z "$CC" ] && CC="${CROSS_COMPILE}gcc"
+[ -z "$CC" ] && CC="cc"
+CC="${CROSS_COMPILE}${CC}"
[ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip"
[ -z "$HOSTCC" ] && HOSTCC=gcc