Wolfgang Rosenauer 2023-08-02 09:08:02 +00:00 committed by Git OBS Bridge
parent a83fab0562
commit ebfb67fa55

View File

@ -388,7 +388,7 @@ export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
%endif
%ifarch %arm %ix86
# Limit RAM usage during link
export LDFLAGS="\$LDFLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--no-map-whole-files -Wl,--no-mmap-output-file"
export LDFLAGS="\$LDFLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--no-map-whole-files"
# A lie to prevent -Wl,--gc-sections being set which requires more memory than 32bit can offer
export GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
%endif