mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
3DS: Move -Wl,--gc-sections to avoid it interfering with the library checks
This commit is contained in:
parent
6aaec02c57
commit
25f6c78825
12
configure
vendored
12
configure
vendored
@ -2552,11 +2552,6 @@ case $_host_os in
|
||||
append_var CXXFLAGS "-fomit-frame-pointer"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/libctru/include"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/portlibs/3ds/include"
|
||||
if test "$_dynamic_modules" = no ; then
|
||||
append_var LDFLAGS "-Wl,--gc-sections"
|
||||
else
|
||||
append_var LDFLAGS "-Wl,--no-gc-sections"
|
||||
fi
|
||||
append_var LDFLAGS "-L$DEVKITPRO/libctru/lib"
|
||||
append_var LDFLAGS "-L$DEVKITPRO/portlibs/3ds/lib"
|
||||
append_var LIBS "-lcitro3d -lctru"
|
||||
@ -5687,6 +5682,13 @@ case $_backend in
|
||||
if test "$_tremor" = yes -o "$_flac" = yes; then
|
||||
append_var LIBS "-logg"
|
||||
fi
|
||||
|
||||
# Moved -Wl,--gc-sections here to avoid it interfering with the library checks
|
||||
if test "$_dynamic_modules" = no ; then
|
||||
append_var LDFLAGS "-Wl,--gc-sections"
|
||||
else
|
||||
append_var LDFLAGS "-Wl,--no-gc-sections"
|
||||
fi
|
||||
;;
|
||||
android)
|
||||
# ssp at this point so the cxxtests link
|
||||
|
Loading…
Reference in New Issue
Block a user