[PATCH] D46718: Setup ORIGIN/NetBSD option in sanitizer tests

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 13:17:15 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT332035: Setup ORIGIN/NetBSD option in sanitizer tests (authored by kamil, committed by ).

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D46718

Files:
  test/lit.common.cfg


Index: test/lit.common.cfg
===================================================================
--- test/lit.common.cfg
+++ test/lit.common.cfg
@@ -312,7 +312,7 @@
 if config.host_os == 'Darwin':
   config.substitutions.append( ("%ld_flags_rpath_exe", '-Wl,-rpath, at executable_path/ %dynamiclib') )
   config.substitutions.append( ("%ld_flags_rpath_so", '-install_name @rpath/`basename %dynamiclib`') )
-elif config.host_os == 'FreeBSD':
+elif config.host_os == 'FreeBSD' or config.host_os == 'NetBSD':
   config.substitutions.append( ("%ld_flags_rpath_exe", "-Wl,-z,origin -Wl,-rpath,\$ORIGIN -L%T -l%xdynamiclib_namespec") )
   config.substitutions.append( ("%ld_flags_rpath_so", '') )
 elif config.host_os == 'Linux':


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46718.146209.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180510/bfbe78f2/attachment.bin>


More information about the llvm-commits mailing list