ref: 47a1718c4d39ebb0d9ac0148f2939ac9a4f633e7
parent: 52e7f4153bbd06ec4fd0942c554544c7ede5911e
author: James Zern <[email protected]>
date: Mon Dec 21 17:09:52 EST 2015
configure: avoid default when CROSS is set to null avoids picking up defaults if CROSS is forcibly set empty as in: $ CROSS= ./configure ... BUG=1121 Change-Id: I6af91959288dede01efe3e5945698ab249eb6ec3
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -877,7 +877,7 @@
case ${tgt_cc} in
gcc)
- CROSS=${CROSS:-arm-none-linux-gnueabi-}
+ CROSS=${CROSS-arm-none-linux-gnueabi-}
link_with_cc=gcc
setup_gnu_toolchain
arch_int=${tgt_isa##armv}
@@ -1135,7 +1135,7 @@
CC=${CC:-${CROSS}gcc}
CXX=${CXX:-${CROSS}g++}
LD=${LD:-${CROSS}gcc}
- CROSS=${CROSS:-g}
+ CROSS=${CROSS-g}
;;
os2)
disable_feature pic