patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Mon Nov 28 16:05:23 2011 +0800 (2011-11-28)
changeset 2787 85477445af56
permissions -rw-r--r--
libc/newlib: remove hard-coded "-O"

With hard-coded "-O", users can not customize CFLAGS_FOR_TARGET
by CT_TARGET_CFLAGS. If "-O" is needed, users can input it in
CT_TARGET_CFLAGS. By default, "-Os" is enabled.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
     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