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 | 47da22ef5135c4bcfc49bc3d8e13831d58b02ede (patch) | |
tree | 927df42cdd52e29c6fea7f753f15f09b28d3501e | |
parent | 90edb310c697b2f5008ebd38e377ef8f65bf6a21 (diff) |
compiler-rt/test: Bring back -pie on Android.linaro-local/ci/tcwg_kernel/llvm-master-arm-mainline-defconfiglinaro-local/ci/tcwg_kernel/llvm-master-aarch64-stable-allyesconfig
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).
-rw-r--r-- | compiler-rt/test/lit.common.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index 8d94d63f102..f06658ff2d2 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/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. |