diff options
Diffstat (limited to 'community/chromium/chromium-use-alpine-target.patch')
-rw-r--r-- | community/chromium/chromium-use-alpine-target.patch | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/community/chromium/chromium-use-alpine-target.patch b/community/chromium/chromium-use-alpine-target.patch deleted file mode 100644 index 481583f10f7..00000000000 --- a/community/chromium/chromium-use-alpine-target.patch +++ /dev/null @@ -1,89 +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", -diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index c325f72..543baa2 100644 ---- a/build/config/compiler/BUILD.gn -+++ b/build/config/compiler/BUILD.gn -@@ -1516,18 +1516,6 @@ config("default_warnings") { - "-Wno-builtin-assume-aligned-alignment", - ] - -- # NaCl does not support flags from ToT. -- if (!is_nacl) { -- cflags += [ -- # TODO(https://crbug.com/1203071): Clean up and enable. -- "-Wno-unused-but-set-parameter", -- "-Wno-unused-but-set-variable", -- -- # TODO(https://crbug.com/1255745): Clean up, enable. -- "-Wno-bitwise-instead-of-logical", -- ] -- } -- - if (is_fuchsia) { - # TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383) - cflags += [ "-Wno-deprecated-copy" ] |