aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLe Philousophe2019-09-23 12:45:42 +0200
committerLe Philousophe2019-10-09 13:33:11 +0200
commit8db65d0b6ce1835f3c751311ea365c6fd1bf93cf (patch)
tree56d197fc5ce3c8cda12f74db337d965c385acb9b /configure
parent761f97bf496a6cd8c3d5c7bc1eac7baaec407b56 (diff)
downloadscummvm-rg350-8db65d0b6ce1835f3c751311ea365c6fd1bf93cf.tar.gz
scummvm-rg350-8db65d0b6ce1835f3c751311ea365c6fd1bf93cf.tar.bz2
scummvm-rg350-8db65d0b6ce1835f3c751311ea365c6fd1bf93cf.zip
CONFIGURE: Add portlibs paths for GameCube and Wii
Libraries provided by DevkitPPC are stored in these directories and should be added to search paths
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 211e75ecfb..401da536c8 100755
--- a/configure
+++ b/configure
@@ -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