[arch-commits] Commit in chromium/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 7 09:39:19 UTC 2017


    Date: Tuesday, November 7, 2017 @ 09:39:18
  Author: foutrelis
Revision: 308970

Set exclude_unwind_tables=true only when strip=y

Modified:
  chromium/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-07 09:01:26 UTC (rev 308969)
+++ PKGBUILD	2017-11-07 09:39:18 UTC (rev 308970)
@@ -133,7 +133,6 @@
     'is_clang=false'
     'clang_use_chrome_plugins=false'
     'is_debug=false'
-    'exclude_unwind_tables=true'
     'fatal_linker_warnings=false'
     'treat_warnings_as_errors=false'
     'fieldtrial_testing_like_official_build=true'
@@ -157,6 +156,10 @@
     "google_default_client_secret=\"${_google_default_client_secret}\""
   )
 
+  if check_option strip y; then
+    _flags+=('exclude_unwind_tables=true')
+  fi
+
   python2 tools/gn/bootstrap/bootstrap.py --gn-gen-args "${_flags[*]}"
   out/Release/gn gen out/Release --args="${_flags[*]}" \
     --script-executable=/usr/bin/python2



More information about the arch-commits mailing list