From f8dc58b23cc58216db04a78b53b7e879c94048e936101fba039c4d6d5d10ece7 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 2 Aug 2023 12:41:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1083 --- MozillaFirefox.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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