summaryrefslogtreecommitdiff
path: root/patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch')
-rw-r--r--patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch b/patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch
new file mode 100644
index 0000000..49e8142
--- /dev/null
+++ b/patches/binutils/2.19.1a/110-RPATH_ENVVAR-smack.patch
@@ -0,0 +1,22 @@
+Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch
+
+-= BEGIN original header =-
+Original patch from Gentoo:
+gentoo/src/patchsets/binutils/2.19/08_all_binutils-RPATH_ENVVAR-smack.patch
+
+http://sourceware.org/ml/binutils/2007-07/msg00401.html
+http://sourceware.org/bugzilla/show_bug.cgi?id=4970
+
+-= END original header =-
+
+diff -durN binutils-2.19.1.orig/configure binutils-2.19.1/configure
+--- binutils-2.19.1.orig/configure 2008-09-04 04:18:16.000000000 +0200
++++ binutils-2.19.1/configure 2009-03-08 11:57:00.000000000 +0100
+@@ -5601,6 +5601,7 @@
+ *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
+ *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
+ esac
++RPATH_ENVVAR="cant_touch_this_nah_nah_nah"
+
+ # On systems where the dynamic library environment variable is PATH,
+ if test "$RPATH_ENVVAR" = PATH; then