diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-01-15 22:53:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-01-15 22:53:24 +0000 |
commit | 724c5ea89bd4e3f27edf5751ac366369035e6d79 (patch) | |
tree | 395287e21dcad75a798634ae683688534123d0c4 | |
parent | 8447d508998a1e9fcebede29f8848f8bdb3eeb75 (diff) | |
download | compiler-rt-724c5ea89bd4e3f27edf5751ac366369035e6d79.tar.gz |
compiler-rt/test: Bring back -pie on Android.
Looks like the sanitizer-x86_64-linux-android bot started failing
because -pie is still needed when targeting API levels < 16 (which
is the case by default for arm and i686).
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@351270 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/lit.common.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 8d94d63f1..f06658ff2 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -59,7 +59,7 @@ if config.asan_shadow_scale != '': # is a transitive shared library dependency (via asan runtime). if config.android: # Prepend the flag so that it can be overridden. - config.target_cflags = "-fuse-ld=gold " + config.target_cflags + config.target_cflags = "-pie -fuse-ld=gold " + config.target_cflags config.cxx_mode_flags.append('-stdlib=libstdc++') # Clear some environment variables that might affect Clang. |