File: disable-rpath.diff

package info (click to toggle)
autofdo 0.19-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,248,560 kB
  • sloc: cpp: 436,213; java: 108,653; objc: 108,251; ansic: 77,107; python: 45,387; cs: 24,942; javascript: 17,526; sh: 16,011; php: 15,368; ruby: 6,255; makefile: 5,808; xml: 2,571; pascal: 388; lisp: 182
file content (12 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/m4/ax_llvm.m4
+++ b/m4/ax_llvm.m4
@@ -67,8 +67,7 @@ AC_DEFUN([AX_LLVM],
                       -ldl -lpthread -ltinfo"
       elif test "x$shared_mode" = "xshared"; then
         rpath="$($ac_llvm_config_path --libdir)"
-        LLVM_LDFLAGS="-Wl,-rpath $rpath \
-                      $($ac_llvm_config_path --ldflags)"
+        LLVM_LDFLAGS="$($ac_llvm_config_path --ldflags)"
         LLVM_LIBS="$($ac_llvm_config_path --libs $1)"
       fi