Native gcc is picky about the CC and LD variables. Set them unconditionally, whether building static or not.
/trunk/scripts/build/debug/300-gdb.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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
8 - gcc -ggdb -Wall -W -o sstrip sstrip.c
9 + $(CC) -Wall -W -o sstrip sstrip.c