summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-23 16:39:40 (GMT)
committerGitHub <noreply@github.com>2017-03-23 16:39:40 (GMT)
commite26f04a9d9479a103485907b685cc1d0481edf46 (patch)
tree2525a9510e9c5dbf17a0e8b29b6ba9f01fd0f0dd
parent8dfe2a09ef93ef828e352817ab10ecfe12464e64 (diff)
parent67ab129fc5f9837f17b50da98a17e044ef1ce09a (diff)
Merge pull request #659 from stilor/no-root-no-linkscrosstool-ng-1.23.0-rc1
Do not create multilib symlinks if not using sysroot
-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/*)
;;