mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Don't use DWARF in nasm when linking using gold
This raises `internal error in relocate_section, at ../../gold/i386.cc:3683`
This commit is contained in:
parent
baf7cae8ed
commit
1c922e6e77
4
configure
vendored
4
configure
vendored
@ -5618,6 +5618,10 @@ if test "$_have_x86" = yes ; then
|
||||
;;
|
||||
*)
|
||||
append_var NASMFLAGS "-f elf"
|
||||
if $LD $LDFLAGS -Wl,--version | grep 'GNU gold'; then
|
||||
# gold throws an internal error when nasm uses dwarf, force older stabs in this case
|
||||
append_var NASMFLAGS "-F stabs"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
_nasm=yes
|
||||
|
Loading…
Reference in New Issue
Block a user