Mercurial > hg > toybox
comparison configure @ 358:51722949f2cc
Unconditionally add the $CROSS_COMPILE prefix to $CC, even if it's already set.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 06 Aug 2009 20:38:24 -0500 |
parents | d4176f3f3835 |
children | 9bcc288a1c54 |
comparison
equal
deleted
inserted
replaced
357:0e7bdfafd758 | 358:51722949f2cc |
---|---|
6 [ -z "$CROSS_COMPILE" ] && CROSS_COMPILE="$CROSS" | 6 [ -z "$CROSS_COMPILE" ] && CROSS_COMPILE="$CROSS" |
7 | 7 |
8 [ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts" | 8 [ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts" |
9 CFLAGS="$CFLAGS -funsigned-char" | 9 CFLAGS="$CFLAGS -funsigned-char" |
10 [ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections" | 10 [ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections" |
11 [ -z "$CC" ] && CC="${CROSS_COMPILE}gcc" | 11 [ -z "$CC" ] && CC="cc" |
12 CC="${CROSS_COMPILE}${CC}" | |
12 [ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip" | 13 [ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip" |
13 [ -z "$HOSTCC" ] && HOSTCC=gcc | 14 [ -z "$HOSTCC" ] && HOSTCC=gcc |