diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2018-12-19 02:24:12 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2018-12-19 02:24:12 +0000 |
commit | 6fc0ad0a5de45f80140620e2dd606f65d547362a (patch) | |
tree | 70c48eb656ed8eaa179a465c30efe4433a7a7494 /test/lit.common.cfg | |
parent | f8f9fdb8560e9d0abac7edaa5ca40e9bed881695 (diff) | |
parent | cd24f2f94f4edc9a636d02ee841b5a729b2b2ec3 (diff) | |
download | compiler-rt-6fc0ad0a5de45f80140620e2dd606f65d547362a.tar.gz |
Creating branches/google/stable and tags/google/stable/2018-12-18 from r349201
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/google/stable@349597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.cfg')
-rw-r--r-- | test/lit.common.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 0c2355f1d..cdcba5fc9 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -59,6 +59,7 @@ if config.asan_shadow_scale != '': # transitive shared library dependency (via asan runtime). if config.android: config.target_cflags += " -pie -fuse-ld=gold -Wl,--enable-new-dtags" + config.cxx_mode_flags.append('-stdlib=libstdc++') # Clear some environment variables that might affect Clang. possibly_dangerous_env_vars = ['ASAN_OPTIONS', 'DFSAN_OPTIONS', 'LSAN_OPTIONS', @@ -317,7 +318,7 @@ if config.host_os == 'Darwin' and is_darwin_lto_supported(): config.lto_supported = True config.lto_launch = ["env", "DYLD_LIBRARY_PATH=" + config.llvm_shlib_dir] config.lto_flags = [] -elif config.host_os == 'Linux' and is_linux_lto_supported(): +elif config.host_os in ['Linux', 'FreeBSD', 'NetBSD'] and is_linux_lto_supported(): config.lto_supported = True config.lto_launch = [] if config.use_lld: |