gn build: Pass -fno-emulated-tls when targeting Android.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 18 Mar 2023 00:05:46 +0000 (17:05 -0700)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 18 Mar 2023 00:28:40 +0000 (17:28 -0700)
commit659da71a406080b72c3882c491627ae4028b5675
tree84a0cf8b249f1e90c30c2811bd257bee4ca41384
parent7adacaa098d9ec563d0d80a1e94a7b5b71832349
gn build: Pass -fno-emulated-tls when targeting Android.

Matches the CMake build:
https://github.com/llvm/llvm-project/blob/93c1a5f3ddd41e0ec09f38ab0045bd5e92199fd5/compiler-rt/CMakeLists.txt#L343
(we always use API level 29).

Differential Revision: https://reviews.llvm.org/D146341
llvm/utils/gn/build/toolchain/target_flags.gni