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
This commit is contained in:
parent
52e7f4153b
commit
47a1718c4d
@ -877,7 +877,7 @@ process_common_toolchain() {
|
||||
|
||||
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 @@ EOF
|
||||
CC=${CC:-${CROSS}gcc}
|
||||
CXX=${CXX:-${CROSS}g++}
|
||||
LD=${LD:-${CROSS}gcc}
|
||||
CROSS=${CROSS:-g}
|
||||
CROSS=${CROSS-g}
|
||||
;;
|
||||
os2)
|
||||
disable_feature pic
|
||||
|
Loading…
Reference in New Issue
Block a user