summaryrefslogtreecommitdiff
path: root/scripts/build/arch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-14 05:24:16 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-14 05:47:07 (GMT)
commitc1612e92956d8f289c3779ff1366af873afbb7c3 (patch)
tree4eede13bbbffbb06dc3a1259eba3f4b4b96d16c7 /scripts/build/arch
parentd34a6bd8a0222fadfc86795f65ca9a7df232324d (diff)
Use ${CT_CC} instead of gcc ...
... when refering to target's compiler. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/arch')
-rw-r--r--scripts/build/arch/x86.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/arch/x86.sh b/scripts/build/arch/x86.sh
index 2c8a226..3a7a2ce 100644
--- a/scripts/build/arch/x86.sh
+++ b/scripts/build/arch/x86.sh
@@ -166,7 +166,7 @@ CT_DoArchUClibcHeaderDir() {
# If it is non-default multilib, add a suffix with architecture (reported by gcc)
# to the headers installation path.
if [ -n "${cflags}" ]; then
- eval "${dir_var}="$( ${CT_TARGET}-gcc -print-multiarch ${cflags} )
+ eval "${dir_var}="$( ${CT_TARGET}-${CT_CC} -print-multiarch ${cflags} )
fi
}
@@ -177,6 +177,6 @@ CT_DoArchMUSLHeaderDir() {
# If it is non-default multilib, add a suffix with architecture (reported by gcc)
# to the headers installation path.
if [ -n "${cflags}" ]; then
- eval "${dir_var}="$( ${CT_TARGET}-gcc -print-multiarch ${cflags} )
+ eval "${dir_var}="$( ${CT_TARGET}-${CT_CC} -print-multiarch ${cflags} )
fi
}