mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Fix Raspberry Pi cross compilation using the Pro toolchain
https://github.com/Pro/raspi-toolchain Current release of this toolchain must be installed in /opt This uses a more recent gcc (8) whereas the official one uses 4.3-2
This commit is contained in:
parent
fff03c9002
commit
7ac78c9172
2
configure
vendored
2
configure
vendored
@ -3190,11 +3190,13 @@ if test -n "$_host"; then
|
||||
# These are needed to build against Raspbian's libSDL.
|
||||
append_var LDFLAGS "--sysroot=$RPI_ROOT"
|
||||
append_var LDFLAGS "-B$RPI_ROOT/usr/lib/arm-linux-gnueabihf"
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/usr/lib/arm-linux-gnueabihf/pulseaudio"
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/usr/lib/arm-linux-gnueabihf"
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/lib/arm-linux-gnueabihf"
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/opt/vc/lib"
|
||||
append_var LDFLAGS "-L$RPI_ROOT/opt/vc/lib"
|
||||
append_var CXXFLAGS "-isystem $RPI_ROOT/usr/include/arm-linux-gnueabihf"
|
||||
append_var CXXFLAGS "-I$RPI_ROOT/usr/include"
|
||||
# This is so optional OpenGL ES includes are found.
|
||||
append_var CXXFLAGS "-I$RPI_ROOT/opt/vc/include"
|
||||
_savegame_timestamp=no
|
||||
|
Loading…
Reference in New Issue
Block a user