diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index b64e3e0..d6d2f97 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -44,7 +44,7 @@ if [[ ${_use_suffix} == 0 ]]; then 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,8 +273,8 @@ build() { host_toolchain = "//build/toolchain/linux/unbundle:default" clang_base_path = "/usr" clang_use_chrome_plugins = false - symbol_level = 0 - chrome_pgo_phase = 2 + symbol_level = 0 # sufficient for backtraces on x86(_64) + chrome_pgo_phase = 0 # needs newer clang to read the bundled PGO profile treat_warnings_as_errors = false disable_fieldtrial_testing_config = true blink_enable_generated_code_formatting = false @@ -292,9 +292,6 @@ build() { 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 }