Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Without this patch we see rpaths hardcoded into the build which results in QA |
| 2 | warnings. These rpaths are not needed so lets turn this off. |
| 3 | |
| 4 | Upstream-Status: Inappropriate |
| 5 | (but could be turned into a proper configure option) |
| 6 | |
| 7 | RP 2012/03/14 |
| 8 | |
| 9 | Index: slang-2.2.4/configure |
| 10 | =================================================================== |
| 11 | --- slang-2.2.4.orig/configure 2012-03-14 23:40:01.283560679 +0000 |
| 12 | +++ slang-2.2.4/configure 2012-03-14 23:41:18.023558900 +0000 |
| 13 | @@ -6081,56 +6081,7 @@ |
| 14 | ELF_CFLAGS="$ELF_CFLAGS $IEEE_CFLAGS" |
| 15 | CFLAGS="$CFLAGS $IEEE_CFLAGS" |
| 16 | |
| 17 | - |
| 18 | -if test "X$libdir" != "X" |
| 19 | -then |
| 20 | - if test "X$RPATH" = "X" |
| 21 | - then |
| 22 | - |
| 23 | -case "$host_os" in |
| 24 | - *linux*|*solaris* ) |
| 25 | - if test "X$GCC" = Xyes |
| 26 | - then |
| 27 | - if test "X$ac_R_nospace" = "Xno" |
| 28 | - then |
| 29 | - RPATH="-Wl,-R," |
| 30 | - else |
| 31 | - RPATH="-Wl,-R" |
| 32 | - fi |
| 33 | - else |
| 34 | - if test "X$ac_R_nospace" = "Xno" |
| 35 | - then |
| 36 | - RPATH="-R " |
| 37 | - else |
| 38 | - RPATH="-R" |
| 39 | - fi |
| 40 | - fi |
| 41 | - ;; |
| 42 | - *osf*|*openbsd*) |
| 43 | - if test "X$GCC" = Xyes |
| 44 | - then |
| 45 | - RPATH="-Wl,-rpath," |
| 46 | - else |
| 47 | - RPATH="-rpath " |
| 48 | - fi |
| 49 | - ;; |
| 50 | - *netbsd*) |
| 51 | - if test "X$GCC" = Xyes |
| 52 | - then |
| 53 | - RPATH="-Wl,-R" |
| 54 | - fi |
| 55 | - ;; |
| 56 | -esac |
| 57 | - |
| 58 | - if test "X$RPATH" != "X" |
| 59 | - then |
| 60 | - RPATH="$RPATH$libdir" |
| 61 | - fi |
| 62 | - else |
| 63 | - RPATH="$RPATH:$libdir" |
| 64 | - fi |
| 65 | -fi |
| 66 | - |
| 67 | +RPATH="" |
| 68 | |
| 69 | # The cast to long int works around a bug in the HP C Compiler |
| 70 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |