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:
parent
6068ebb4ad
commit
1903f8c159
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue