Merge "Build libdl for risc-v."
This commit is contained in:
commit
8f548122ad
1 changed files with 13 additions and 0 deletions
|
@ -74,6 +74,7 @@ cc_library {
|
|||
"-Wl,--exclude-libs=libclang_rt.builtins-arm-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-i686-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-riscv64-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-x86_64-android.a",
|
||||
],
|
||||
|
||||
|
@ -87,6 +88,9 @@ cc_library {
|
|||
arm64: {
|
||||
version_script: ":libdl.arm64.map",
|
||||
},
|
||||
riscv64: {
|
||||
version_script: ":libdl.riscv64.map",
|
||||
},
|
||||
x86: {
|
||||
pack_relocations: false,
|
||||
ldflags: [
|
||||
|
@ -174,6 +178,7 @@ cc_library {
|
|||
"-Wl,--exclude-libs=libclang_rt.builtins-arm-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-i686-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-riscv64-android.a",
|
||||
"-Wl,--exclude-libs=libclang_rt.builtins-x86_64-android.a",
|
||||
],
|
||||
|
||||
|
@ -253,6 +258,14 @@ genrule {
|
|||
cmd: "$(location generate-version-script) arm64 $(in) $(out)",
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "libdl.riscv64.map",
|
||||
out: ["libdl.riscv64.map"],
|
||||
srcs: ["libdl.map.txt"],
|
||||
tools: ["generate-version-script"],
|
||||
cmd: "$(location generate-version-script) riscv64 $(in) $(out)",
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "libdl.x86.map",
|
||||
out: ["libdl.x86.map"],
|
||||
|
|
Loading…
Reference in a new issue