aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYunQiang Su <syq@gcc.gnu.org>2024-05-05 23:12:37 +0800
committerYunQiang Su <syq@debian.org>2024-05-06 12:08:28 +0800
commit70d30dd656957f518b8169a125f6b17f53da8237 (patch)
treee05ff5cd2e48073dfa3736d279e4e413231e23b3 /gcc
parentce343444c019f34172320d0873cc993d43750f41 (diff)
downloadgcc-70d30dd656957f518b8169a125f6b17f53da8237.zip
gcc-70d30dd656957f518b8169a125f6b17f53da8237.tar.gz
gcc-70d30dd656957f518b8169a125f6b17f53da8237.tar.bz2
config-ml.in: Fix multi-os-dir search
When building multilib libraries, CC/CXX etc are set with an option -B*/lib/, instead of -B<something>/lib/<multi-os-directory>. This will make some trouble in some case, for example building cross toolchain based on Debian's cross packages: If we have libc6-dev-i386-amd64-cross packages installed on a non-x86 machine. This package will have the files in /usr/x86_4-linux-gnu/lib32. The fellow configure will fail when build libgcc for i386, with complains the libc is not i386 ones: ../configure --enable-multilib --enable-multilib \ --target=x86_64-linux-gnu Let's insert a "-B*/lib/`CC ${flags} --print-multi-os-directory`" before "-B*/lib/". This patch is based on the patch used by Debian now. ChangeLog * config-ml.in: Insert an -B option with multi-os-dir into compiler commands used to build libraries.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions