patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 02 21:58:34 2009 +0000 (2009-04-02)
changeset 1287 2a70bb65824e
permissions -rw-r--r--
Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:
The generated libtool for building libstdc++ adds the -nostdlib option to the
g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol"
error when linking against the libstdc++ shared object. This patch adds gcc
to the list of libraries linked against when linking libstdc++.

/trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch | 21 21 0 0 +++++++++++++++++
1 file changed, 21 insertions(+)
     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