projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bd73a9
)
Unconditionally add the $CROSS_COMPILE prefix to $CC, even if it's already set.
author
Rob Landley
<rob@landley.net>
Fri, 7 Aug 2009 01:38:24 +0000
(20:38 -0500)
committer
Rob Landley
<rob@landley.net>
Fri, 7 Aug 2009 01:38:24 +0000
(20:38 -0500)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
c9990f2
..
9b7bb36
100644
(file)
--- 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