patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:10 2010 +0100 (2010-11-23)
branch1.9
changeset 2197 7579ac8ffe0b
permissions -rw-r--r--
scripts/xldd: stop at first match

Break the library search loop as soon as a match is found.
Previously, if a library was present in different places,
then the last occurence would be returned, when the first
one would have been used at runtime.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 78d2f99d403f7092203fc7a119ec19f9a2108afa)
     1 diff -dur ELFkickers.orig/sstrip/Makefile ELFkickers/sstrip/Makefile
     2 --- ELFkickers.orig/sstrip/Makefile	2001-03-24 12:58:27.000000000 +0100
     3 +++ ELFkickers/sstrip/Makefile	2007-05-31 21:17:18.000000000 +0200
     4 @@ -1,7 +1,7 @@
     5  #  Makefile for sstrip
     6  
     7  sstrip: sstrip.c
     8 -	gcc -ggdb -Wall -W -o sstrip sstrip.c
     9 +	$(CC) -Wall -W -o sstrip sstrip.c
    10  
    11  clean:
    12  	rm -f sstrip