mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
build: Add openwrt ARM build
This commit is contained in:
parent
aaa84b93dc
commit
b47343f9b5
@ -21,6 +21,16 @@ clang_toolchain("clang_arm") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clang_toolchain("clang_arm_openwrt") {
|
||||||
|
extra_cppflags = "--target=arm-openwrt-linux-muslgnueabi -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
||||||
|
extra_ldflags = "--target=arm-openwrt-linux-muslgnueabi"
|
||||||
|
extra_asmflags = "--target=arm-openwrt-linux-muslgnueabi"
|
||||||
|
toolchain_args = {
|
||||||
|
current_cpu = "arm"
|
||||||
|
current_os = "linux"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
clang_toolchain("clang_arm64") {
|
clang_toolchain("clang_arm64") {
|
||||||
toolprefix = "aarch64-linux-gnu-"
|
toolprefix = "aarch64-linux-gnu-"
|
||||||
toolchain_args = {
|
toolchain_args = {
|
||||||
@ -32,7 +42,7 @@ clang_toolchain("clang_arm64") {
|
|||||||
clang_toolchain("clang_arm64_openwrt") {
|
clang_toolchain("clang_arm64_openwrt") {
|
||||||
extra_cppflags = "--target=aarch64-openwrt-linux-musl -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
extra_cppflags = "--target=aarch64-openwrt-linux-musl -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
||||||
extra_ldflags = "--target=aarch64-openwrt-linux-musl"
|
extra_ldflags = "--target=aarch64-openwrt-linux-musl"
|
||||||
toolprefix = "aarch64-linux-gnu-"
|
extra_asmflags = "--target=aarch64-openwrt-linux-musl"
|
||||||
toolchain_args = {
|
toolchain_args = {
|
||||||
current_cpu = "arm64"
|
current_cpu = "arm64"
|
||||||
current_os = "linux"
|
current_os = "linux"
|
||||||
|
Loading…
Reference in New Issue
Block a user