patches/binutils/2.20.1/110-RPATH_ENVVAR-smack.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Sep 11 17:55:54 2010 +0200 (2010-09-11)
changeset 2117 24aacb93191d
parent 1621 60446d2e5660
permissions -rw-r--r--
scripts/internal: cleanup build symlinks

The symlinks are needed only during the build process.
The final gcc will still search those dirs, but will also search
the standard lib/ dirs, so we can get rid of the symlinks.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 http://sourceware.org/ml/binutils/2007-07/msg00401.html
     2 http://sourceware.org/bugzilla/show_bug.cgi?id=4970
     3 
     4 diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
     5 --- binutils-2.20.1.orig/configure	2010-03-03 14:59:02.000000000 +0100
     6 +++ binutils-2.20.1/configure	2010-08-17 19:32:05.000000000 +0200
     7 @@ -6466,6 +6466,7 @@
     8    *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
     9    *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
    10  esac
    11 +RPATH_ENVVAR="cant_touch_this_nah_nah_nah"
    12  
    13  # On systems where the dynamic library environment variable is PATH,
    14  # gcc/ will put dynamic libraries into a subdirectory to avoid adding