mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Fix OpenWrt x86 builds
This commit is contained in:
parent
1e28fc5142
commit
63f89cd454
@ -99,8 +99,8 @@ clang_toolchain("clang_x86") {
|
||||
clang_toolchain("clang_x86_openwrt") {
|
||||
# Output linker map files for binary size analysis.
|
||||
enable_linker_map = true
|
||||
extra_cppflags = "--target=i386-openwrt-linux-musl -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
||||
extra_ldflags = "--target=i386-openwrt-linux-musl"
|
||||
extra_cppflags = "--target=i486-openwrt-linux-musl -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
||||
extra_ldflags = "--target=i486-openwrt-linux-musl -Wl,--dynamic-linker=/lib/ld-musl-i386.so.1"
|
||||
|
||||
toolchain_args = {
|
||||
current_cpu = "x86"
|
||||
@ -242,7 +242,7 @@ clang_toolchain("clang_mipsel") {
|
||||
|
||||
clang_toolchain("clang_mipsel_openwrt") {
|
||||
extra_cppflags = "--target=mipsel-openwrt-linux-musl -D_LIBCPP_HAS_MUSL_LIBC -D__UCLIBC__"
|
||||
extra_ldflags = "--target=mipsel-openwrt-linux-musl"
|
||||
extra_ldflags = "--target=mipsel-openwrt-linux-musl -Wl,--dynamic-linker=/lib/ld-musl-mipsel-sf.so.1"
|
||||
|
||||
toolchain_args = {
|
||||
current_cpu = "mipsel"
|
||||
|
Loading…
Reference in New Issue
Block a user