aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-use-alpine-target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/chromium-use-alpine-target.patch')
-rw-r--r--community/chromium/chromium-use-alpine-target.patch79
1 files changed, 0 insertions, 79 deletions
diff --git a/community/chromium/chromium-use-alpine-target.patch b/community/chromium/chromium-use-alpine-target.patch
deleted file mode 100644
index 05270f31a06..00000000000
--- a/community/chromium/chromium-use-alpine-target.patch
+++ /dev/null
@@ -1,79 +0,0 @@
---- build/config/compiler/BUILD.gn
-+++ build/config/compiler/BUILD.gn
-@@ -752,8 +752,8 @@
- }
- } else if (current_cpu == "arm") {
- if (is_clang && !is_android && !is_nacl) {
-- cflags += [ "--target=arm-linux-gnueabihf" ]
-- ldflags += [ "--target=arm-linux-gnueabihf" ]
-+ cflags += [ "--target=armv7-alpine-linux-musleabihf" ]
-+ ldflags += [ "--target=armv7-alpine-linux-musleabihf" ]
- }
- if (!is_nacl) {
- cflags += [
-@@ -766,8 +766,8 @@
- }
- } else if (current_cpu == "arm64") {
- if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
-- cflags += [ "--target=aarch64-linux-gnu" ]
-- ldflags += [ "--target=aarch64-linux-gnu" ]
-+ cflags += [ "--target=aarch64-alpine-linux-musl" ]
-+ ldflags += [ "--target=aarch64-alpine-linux-musl" ]
- }
- } else if (current_cpu == "mipsel" && !is_nacl) {
- ldflags += [ "-Wl,--hash-style=sysv" ]
-@@ -777,8 +777,8 @@
- cflags += [ "--target=mipsel-linux-android" ]
- ldflags += [ "--target=mipsel-linux-android" ]
- } else {
-- cflags += [ "--target=mipsel-linux-gnu" ]
-- ldflags += [ "--target=mipsel-linux-gnu" ]
-+ cflags += [ "--target=mipsel-alpine-linux-musl" ]
-+ ldflags += [ "--target=mipsel-alpine-linux-musl" ]
- }
- } else {
- cflags += [ "-EL" ]
-@@ -794,7 +794,7 @@
- "-march=mipsel",
- "-mcpu=mips32r6",
- ]
-- } else {
-+ } else {
- cflags += [
- "-mips32r6",
- "-Wa,-mips32r6",
-@@ -908,8 +908,8 @@
- cflags += [ "--target=mips64el-linux-android" ]
- ldflags += [ "--target=mips64el-linux-android" ]
- } else {
-- cflags += [ "--target=mips64el-linux-gnuabi64" ]
-- ldflags += [ "--target=mips64el-linux-gnuabi64" ]
-+ cflags += [ "--target=mips64el-alpine-linux-musl" ]
-+ ldflags += [ "--target=mips64el-alpine-linux-musl" ]
- }
- } else {
- cflags += [
-@@ -967,8 +967,8 @@
- ldflags += [ "-Wl,--hash-style=sysv" ]
- if (custom_toolchain == "") {
- if (is_clang) {
-- cflags += [ "--target=mips64-linux-gnuabi64" ]
-- ldflags += [ "--target=mips64-linux-gnuabi64" ]
-+ cflags += [ "--target=mips64-alpine-linux-musl" ]
-+ ldflags += [ "--target=mips64-alpine-linux-musl" ]
- } else {
- cflags += [
- "-EB",
-@@ -1619,11 +1619,7 @@
- "-Wno-deprecated-copy",
-
- # TODO(https://crbug.com/1050281): Clean up, enable.
-- "-Wno-non-c-typedef-for-linkage",
--
-- # TODO(https://crbug.com/1203071): Clean up and enable.
-- "-Wno-unused-but-set-parameter",
-- "-Wno-unused-but-set-variable",
-+ "-Wno-non-c-typedef-for-linkage"
- ]
-
- cflags_c += [