summaryrefslogtreecommitdiff
path: root/scripts/build/arch/x86.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-16 17:01:10 (GMT)
committerGitHub <noreply@github.com>2017-01-16 17:01:10 (GMT)
commitcc30c2c880dd5c771b8c5935baf13d505a5ca3d1 (patch)
treea92fde117682b0af6200bda5eabb64d920ea5726 /scripts/build/arch/x86.sh
parent16a7f7bde73954570babb44c45b66afd83b7414d (diff)
parentfb58775a46bae7e587e888fc481e7483773e99ee (diff)
Merge pull request #533 from stilor/gdb-7.12
Gdb 7.12
Diffstat (limited to 'scripts/build/arch/x86.sh')
-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
}