summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-23 16:13:51 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-23 16:13:51 (GMT)
commit67ab129fc5f9837f17b50da98a17e044ef1ce09a (patch)
tree2525a9510e9c5dbf17a0e8b29b6ba9f01fd0f0dd
parent8dfe2a09ef93ef828e352817ab10ecfe12464e64 (diff)
Do not create multilib symlinks if not using sysroot
Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--scripts/build/cc/100-gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh
index e3ae783..5743c08 100644
--- a/scripts/build/cc/100-gcc.sh
+++ b/scripts/build/cc/100-gcc.sh
@@ -146,7 +146,7 @@ evaluate_multilib_cflags()
for f in ${multi_flags}; do
eval ml_`cc_gcc_classify_opt ${f}`=seen
done
- if [ "${CT_DEMULTILIB}" = "y" ]; then
+ if [ "${CT_DEMULTILIB}" = "y" -a "${CT_USE_SYSROOT}" = "y" ]; then
case "${mdir_os}" in
lib/*)
;;