From 1568f25500740341450b793ec8b8430614befb65 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Sat, 9 Oct 2021 17:55:23 -0400 Subject: [PATCH] turn off debug symbols for i686 --- chromium.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chromium.spec b/chromium.spec index 3339e197..19ec6f97 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1159,6 +1159,10 @@ CHROMIUM_CORE_GN_DEFINES+=' system_libdir="lib64"' %if %{official_build} CHROMIUM_CORE_GN_DEFINES+=' is_official_build=true use_thin_lto=false is_cfi=false chrome_pgo_phase=0 use_debug_fission=true' sed -i 's|OFFICIAL_BUILD|GOOGLE_CHROME_BUILD|g' tools/generate_shim_headers/generate_shim_headers.py +# Too much debuginfo for i686 +%ifarch i686 +sed -i 's|-g2|-g0|g' build/config/compiler/BUILD.gn +%endif %endif %if %{useapikey} CHROMIUM_CORE_GN_DEFINES+=' google_api_key="%{api_key}"'