From 344c267e9fe5c6a39efdbf0305bd873d5bef65f3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 3 Mar 2012 10:56:11 -0600 Subject: Fix from Georgi Chorbadzhiyski to make cross compiling more robust. --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 9b7bb365..4e05af7e 100644 --- a/configure +++ b/configure @@ -8,7 +8,6 @@ [ -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="cc" -CC="${CROSS_COMPILE}${CC}" -[ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip" +[ -z "$CC" ] && CC=cc +[ -z "$STRIP" ] && STRIP=strip [ -z "$HOSTCC" ] && HOSTCC=gcc -- cgit v1.2.3