[compiler-rt] r351270 - compiler-rt/test: Bring back -pie on Android.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 15 14:53:24 PST 2019
Author: pcc
Date: Tue Jan 15 14:53:24 2019
New Revision: 351270
URL: http://llvm.org/viewvc/llvm-project?rev=351270&view=rev
Log:
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).
Modified:
compiler-rt/trunk/test/lit.common.cfg
Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=351270&r1=351269&r2=351270&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Tue Jan 15 14:53:24 2019
@@ -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.
More information about the llvm-commits
mailing list