Date: Monday, January 9, 2023 @ 19:24:07
Author: archange
Revision: 1382161
FS#77049 produce debug packages
Modified:
electron/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-09 19:17:59 UTC (rev 1382160)
+++ PKGBUILD 2023-01-09 19:24:07 UTC (rev 1382161)
@@ -7,7 +7,7 @@
_chromiumver=108.0.5359.62
_gcc_patchset=2
# shellcheck disable=SC2034
-pkgrel=1
+pkgrel=2
_major_ver=${pkgver%%.*}
if [[ ${_use_suffix} != 0 ]]; then
@@ -44,7 +44,7 @@
provides=("electron${_major_ver}")
fi
# shellcheck disable=SC2034
-options=('!lto') # Electron adds its own flags for ThinLTO
+options=('debug' '!lto') # Electron adds its own flags for ThinLTO
# shellcheck disable=SC2034
source=('git+https://github.com/electron/electron.git'
'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git#branch=main'
@@ -273,7 +273,7 @@
host_toolchain = "//build/toolchain/linux/unbundle:default"
clang_base_path = "/usr"
clang_use_chrome_plugins = false
- symbol_level = 0
+ symbol_level = 0 # sufficient for backtraces on x86(_64)
chrome_pgo_phase = 2
treat_warnings_as_errors = false
disable_fieldtrial_testing_config = true
@@ -292,9 +292,6 @@
gn gen out/Release \
--args="import(\"//electron/build/args/release.gn\") ${GN_EXTRA_ARGS}"
ninja -C out/Release electron
- # Strip before zip to avoid
- # zipfile.LargeZipFile: Filesize would require ZIP64 extensions
- strip -s out/Release/electron
ninja -C out/Release electron_dist_zip
# ninja -C out/Release third_party/electron_node:headers
}