--- build/config/compiler/BUILD.gn.orig +++ build/config/compiler/BUILD.gn @@ -709,8 +709,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 += [ @@ -723,8 +723,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) { if (custom_toolchain == "") { @@ -733,8 +733,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" ] @@ -861,8 +861,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 += [ @@ -919,8 +919,8 @@ } else if (current_cpu == "mips64") { 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",