disable -g2 on aarch64 too because of space issues

epel8
Tom spot Callaway 3 years ago
parent fd994e0e99
commit 9776d9fcfe

@ -1159,8 +1159,8 @@ 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
# Too much debuginfo for i686 and aarch64
%ifarch i686 aarch64
sed -i 's|-g2|-g0|g' build/config/compiler/BUILD.gn
%endif
%endif

Loading…
Cancel
Save