Override default LIB_PATH for i386 emulation. Unlike older binutils, we

now have to check the emulation and not that the target as the change
otherwise leaks into the native 64bit linker scripts as well.
This commit is contained in:
joerg 2016-02-06 19:22:00 +00:00
parent 6068ebb4ad
commit 1903f8c159
1 changed files with 5 additions and 4 deletions

View File

@ -19,10 +19,11 @@ IREL_IN_PLT=
case "$target" in
x86_64-*-netbsd*)
# Don't override autoconf entry
if [ -z "$LIB_PATH" ]; then
LIB_PATH='=/usr/lib/i386'
fi
case "$EMULATION_NAME" in
*i386*)
LIB_PATH='=/usr/lib/i386'
;;
esac
;;
esac