[Scummvm-git-logs] scummvm master -> ffe666c6b2da89245ed2b6b6340c1e235f0fb5f8

ccawley2011 ccawley2011 at gmail.com
Tue Sep 8 22:28:19 UTC 2020


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

Summary:
80f0cf9f41 RISCOS: Improve compilation flags
ffe666c6b2 CONFIGURE: Improve reporting the SDL version


Commit: 80f0cf9f4139f67db2387575b688322d3a15add3
    https://github.com/scummvm/scummvm/commit/80f0cf9f4139f67db2387575b688322d3a15add3
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-09-08T23:27:12+01:00

Commit Message:
RISCOS: Improve compilation flags

Changed paths:
    configure


diff --git a/configure b/configure
index 854a6eadca..1bac65ff08 100755
--- a/configure
+++ b/configure
@@ -3091,9 +3091,6 @@ EOF
 		append_var CXXFLAGS "-mtune=xscale"
 		append_var LDFLAGS "-static"
 		_optimization_level=-O2
-		append_var CXXFLAGS "-ffunction-sections"
-		append_var CXXFLAGS "-fdata-sections"
-		append_var LDFLAGS "-Wl,--gc-sections"
 		_port_mk="backends/platform/sdl/riscos/riscos.mk"
 		_pandoc=yes
 		_sdlconfig=sdl-config
@@ -5748,10 +5745,10 @@ else
 fi
 
 #
-# Some last-minute backend specific stuff, executed
+# Some last-minute platform specific stuff, executed
 # after all of CXXFLAGS, LDFLAGS, LIBS etc. have been setup
 #
-case $_backend in
+case $_host_os in
 	3ds)
 		if test "$_freetype2" = yes -a "$_png" = yes; then
 			append_var LIBS "-lbz2"
@@ -5794,6 +5791,12 @@ case $_backend in
 		# than pick up anything unhygenic from the Android libs.
 		LIBS="-Wl,-Bstatic $static_libs -Wl,-Bdynamic -lgcc $system_libs -llog -landroid -lGLESv1_CM"
 		;;
+	riscos)
+		append_var CXXFLAGS "-mno-poke-function-name"
+		append_var CXXFLAGS "-ffunction-sections"
+		append_var CXXFLAGS "-fdata-sections"
+		append_var LDFLAGS "-Wl,--gc-sections"
+		;;
 	n64)
 		# Move some libs down here, otherwise some symbols requires by libvorbis aren't found
 		# during linking stage


Commit: ffe666c6b2da89245ed2b6b6340c1e235f0fb5f8
    https://github.com/scummvm/scummvm/commit/ffe666c6b2da89245ed2b6b6340c1e235f0fb5f8
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-09-08T23:27:23+01:00

Commit Message:
CONFIGURE: Improve reporting the SDL version

Changed paths:
    configure


diff --git a/configure b/configure
index 1bac65ff08..b4abdbacf1 100755
--- a/configure
+++ b/configure
@@ -5687,7 +5687,11 @@ echo_n "Backend... "
 echo_n "$_backend"
 
 if test "$_sdl" = yes -a -n "$_sdlversion"; then
-	echo_n " ($_sdlversion)"
+	if test "$_backend" = sdl; then
+		echo_n " ($_sdlversion)"
+	else
+		echo_n " (SDL $_sdlversion)"
+	fi
 fi
 
 if test "$_nasm" = yes ; then




More information about the Scummvm-git-logs mailing list