patches/binutils/2.20.1a/110-RPATH_ENVVAR-smack.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:10:53 2011 +0200 (2011-07-17)
changeset 2890 a59712c236df
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

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