mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
BUILD: Use -Os optimization for mac PPC release builds
Without this we now get a 'virtual memory exhausted' error when running the executable.
This commit is contained in:
parent
40241f6399
commit
fa1ec35672
3
configure
vendored
3
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user