[Scummvm-git-logs] scummvm master -> 507280c2d165b9eada8d62c25d99cdd4dfeb3de4

antoniou79 a.antoniou79 at gmail.com
Sun Apr 5 19:32:00 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
507280c2d1 CONFIGURE: Fix raspberry pi cross-compilation


Commit: 507280c2d165b9eada8d62c25d99cdd4dfeb3de4
    https://github.com/scummvm/scummvm/commit/507280c2d165b9eada8d62c25d99cdd4dfeb3de4
Author: Thanasis Antoniou (a.antoniou79 at gmail.com)
Date: 2020-04-05T21:13:48+03:00

Commit Message:
CONFIGURE: Fix raspberry pi cross-compilation

Changed paths:
    configure


diff --git a/configure b/configure
index 72ae37ca21..6f6cb1966d 100755
--- a/configure
+++ b/configure
@@ -3183,6 +3183,7 @@ if test -n "$_host"; then
 			_port_mk="backends/platform/dingux/dingux.mk"
 			;;
 		raspberrypi)
+			_libcurlpath=$RPI_ROOT/usr/bin
 			# This is needed because the official cross compiler doesn't have multiarch enabled
 			# but Raspbian does.
 			# Be careful as it's the linker (LDFLAGS) which must know about sysroot.
@@ -3193,6 +3194,7 @@ if test -n "$_host"; then
 			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"
 			# This is so optional OpenGL ES includes are found.
 			append_var CXXFLAGS "-I$RPI_ROOT/opt/vc/include"
 			_savegame_timestamp=no




More information about the Scummvm-git-logs mailing list