patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 08 23:37:12 2010 +0200 (2010-10-08)
branch1.8
changeset 2150 f97a8ad2b172
permissions -rw-r--r--
cc/gcc: fix C++ headers location

In case we build the C++ compiler, we have to tell gcc where to put the C++
headers, or else it will try to # put it in prefix/tuple/include, which we
make a symlink to sysroot/usr/include during the build, and that we delete
(the symlink!) after the build, but gcc will not look in sysroot/usr/inlcude
for C++ headers by default.

Implements a fix suggested by: Bryan Hundven <bryanhundven@gmail.com>

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from a0924619112015bdaa81a0a2313d21ef38607bc2)
     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