Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
--- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2020-11-07 01:22:36 UTC | --- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni | +++ src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni | ||||
@@ -36,6 +36,11 @@ if (is_linux && target_os == "android") { | @@ -50,6 +50,11 @@ if (enable_resource_allowlist_generation) { | ||||
enable_resource_whitelist_generation = false | "enable_resource_allowlist_generation=true does not work for target_os=$target_os") | ||||
} | } | ||||
+declare_args() { | +declare_args() { | ||||
+ extra_cxxflags = "" | + extra_cxxflags = "" | ||||
+ extra_ldflags = "" | + extra_ldflags = "" | ||||
+} | +} | ||||
+ | + | ||||
# This template defines a toolchain for something that works like gcc | # This template defines a toolchain for something that works like gcc | ||||
# (including clang). | # (including clang). | ||||
# | # | ||||
@@ -589,13 +594,23 @@ template("clang_toolchain") { | @@ -641,13 +646,23 @@ template("clang_toolchain") { | ||||
} | } | ||||
gcc_toolchain(target_name) { | gcc_toolchain(target_name) { | ||||
- prefix = rebase_path("$clang_base_path/bin", root_build_dir) | - prefix = rebase_path("$clang_base_path/bin", root_build_dir) | ||||
- cc = "$prefix/clang" | - cc = "$prefix/clang" | ||||
- cxx = "$prefix/clang++" | - cxx = "$prefix/clang++" | ||||
- ld = cxx | - ld = cxx | ||||
- readelf = "${toolprefix}readelf" | - readelf = "${toolprefix}readelf" | ||||
Show All 22 Lines |