[Scummvm-git-logs] scummvm master -> fa1ec35672e2aafe5f1bc588b3239f14b9b38f7e
criezy
criezy at scummvm.org
Mon Sep 14 16:46:22 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:
fa1ec35672 BUILD: Use -Os optimization for mac PPC release builds
Commit: fa1ec35672e2aafe5f1bc588b3239f14b9b38f7e
https://github.com/scummvm/scummvm/commit/fa1ec35672e2aafe5f1bc588b3239f14b9b38f7e
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-09-14T17:45:47+01:00
Commit Message:
BUILD: Use -Os optimization for mac PPC release builds
Without this we now get a 'virtual memory exhausted' error when
running the executable.
Changed paths:
configure
diff --git a/configure b/configure
index 32a3084c11..f54556d942 100755
--- a/configure
+++ b/configure
@@ -2731,10 +2731,13 @@ case $_host_os in
# which will allow for calls larger than 32MB. The linker
# will discard the calls if they are not needed, but we
# need to ensure the compiler emits them in the first place.
+ # Also the executable has grown to a size where using -Os is necessary to avoid a
+ # 'virtual memory exhausted' error when running the executable.
case $_host_cpu in
powerpc*)
append_var CFLAGS "-mlongcall"
append_var CXXFLAGS "-mlongcall"
+ _optimization_level=-Os
;;
esac
More information about the Scummvm-git-logs
mailing list