From a97792d7d0d6dd518023fe31421fae51532b7f59 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 6 Aug 2009 20:38:24 -0500 Subject: Unconditionally add the $CROSS_COMPILE prefix to $CC, even if it's already set. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3