1
0
Wolfgang Rosenauer 2023-08-02 12:41:25 +00:00 committed by Git OBS Bridge
parent ebfb67fa55
commit f8dc58b23c

View File

@ -382,13 +382,13 @@ export CXX=g++-12
export CC=gcc
export CXX=g++
%if 0%{?gcc_version:%{gcc_version}} >= 12
export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
#export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
%endif
%endif
%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"
export LDFLAGS="\$LDFLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--no-map-whole-files -Wl,--hash-size=31"
# 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