[Scummvm-git-logs] scummvm master -> 5bcdc22f55fad6102c827c42640f13f766de078a

criezy criezy at scummvm.org
Tue Nov 28 23:31:31 CET 2017


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:
5bcdc22f55 RISCOS: Attempt to reduce binary size


Commit: 5bcdc22f55fad6102c827c42640f13f766de078a
    https://github.com/scummvm/scummvm/commit/5bcdc22f55fad6102c827c42640f13f766de078a
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2017-11-28T22:31:28Z

Commit Message:
RISCOS: Attempt to reduce binary size

Changed paths:
    configure


diff --git a/configure b/configure
index a8716ac..01a5592 100755
--- a/configure
+++ b/configure
@@ -2729,7 +2729,10 @@ case $_host_os in
 		append_var CXXFLAGS "-march=armv3m"
 		append_var CXXFLAGS "-mtune=xscale"
 		append_var LDFLAGS "-static"
-		_optimization_level=-O3
+		_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"
 		;;
 	solaris*)





More information about the Scummvm-git-logs mailing list