mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 04:40:39 +00:00
CONFIGURE: Add portlibs paths for GameCube and Wii
Libraries provided by DevkitPPC are stored in these directories and should be added to search paths
This commit is contained in:
parent
761f97bf49
commit
8db65d0b6c
4
configure
vendored
4
configure
vendored
@ -2816,10 +2816,12 @@ case $_host_os in
|
||||
append_var CXXFLAGS "-fmodulo-sched"
|
||||
append_var CXXFLAGS "-fuse-cxa-atexit"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/libogc/include"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/portlibs/ppc/include"
|
||||
# libogc is required to link the cc tests (includes _start())
|
||||
append_var LDFLAGS "-mogc"
|
||||
append_var LDFLAGS "-mcpu=750"
|
||||
append_var LDFLAGS "-L$DEVKITPRO/libogc/lib/cube"
|
||||
append_var LDFLAGS "-L$DEVKITPRO/portlibs/ppc/lib"
|
||||
append_var LDFLAGS "-logc"
|
||||
if test "$_dynamic_modules" = "yes" ; then
|
||||
# retarded toolchain patch forces --gc-sections, overwrite it
|
||||
@ -3012,10 +3014,12 @@ case $_host_os in
|
||||
append_var CXXFLAGS "-fmodulo-sched"
|
||||
append_var CXXFLAGS "-fuse-cxa-atexit"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/libogc/include"
|
||||
append_var CXXFLAGS "-I$DEVKITPRO/portlibs/ppc/include"
|
||||
# libogc is required to link the cc tests (includes _start())
|
||||
append_var LDFLAGS "-mrvl"
|
||||
append_var LDFLAGS "-mcpu=750"
|
||||
append_var LDFLAGS "-L$DEVKITPRO/libogc/lib/wii"
|
||||
append_var LDFLAGS "-L$DEVKITPRO/portlibs/ppc/lib"
|
||||
append_var LDFLAGS "-logc"
|
||||
if test "$_dynamic_modules" = "yes" ; then
|
||||
# retarded toolchain patch forces --gc-sections, overwrite it
|
||||
|
Loading…
Reference in New Issue
Block a user