patches/binutils/2.20.1a/110-RPATH_ENVVAR-smack.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     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