[PATCH] D146341: gn build: Pass -fno-emulated-tls when targeting Android.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 17:29:05 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG659da71a4060: gn build: Pass -fno-emulated-tls when targeting Android. (authored by pcc).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146341/new/
https://reviews.llvm.org/D146341
Files:
llvm/utils/gn/build/toolchain/target_flags.gni
Index: llvm/utils/gn/build/toolchain/target_flags.gni
===================================================================
--- llvm/utils/gn/build/toolchain/target_flags.gni
+++ llvm/utils/gn/build/toolchain/target_flags.gni
@@ -14,6 +14,7 @@
"--target=$llvm_current_triple",
"--sysroot=$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64/sysroot",
"--gcc-toolchain=$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64",
+ "-fno-emulated-tls",
]
target_ldflags += [
"-static-libstdc++",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146341.506246.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230318/1c18082b/attachment.bin>
More information about the llvm-commits
mailing list