forked from pool/MozillaFirefox
This commit is contained in:
parent
ebfb67fa55
commit
f8dc58b23c
@ -382,13 +382,13 @@ export CXX=g++-12
|
|||||||
export CC=gcc
|
export CC=gcc
|
||||||
export CXX=g++
|
export CXX=g++
|
||||||
%if 0%{?gcc_version:%{gcc_version}} >= 12
|
%if 0%{?gcc_version:%{gcc_version}} >= 12
|
||||||
export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
|
#export CXXFLAGS="\$CXXFLAGS -fimplicit-constexpr"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch %arm %ix86
|
%ifarch %arm %ix86
|
||||||
# Limit RAM usage during link
|
# 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
|
# A lie to prevent -Wl,--gc-sections being set which requires more memory than 32bit can offer
|
||||||
export GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
|
export GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user