diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index f39bf87f..67132375 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -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