disable -g2 on aarch64 too because of space issues

This commit is contained in:
Tom spot Callaway 2021-10-12 10:42:58 -04:00
parent fd994e0e99
commit 9776d9fcfe
1 changed files with 2 additions and 2 deletions

View File

@ -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