From: LoïMinier Date: Mon, 14 Mar 2011 07:31:59 +0000 (+0530) Subject: Merge signGP cflags into HOSTCFLAGS and use these X-Git-Tag: v1.5.0~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6918129141cc9e40edf936a1b741e415adeb658;p=pandora-x-loader.git Merge signGP cflags into HOSTCFLAGS and use these Signed-off-by: LoïMinier Signed-off-by: Anand Gadiyar --- diff --git a/Makefile b/Makefile index fd85142..6309f5d 100644 --- a/Makefile +++ b/Makefile @@ -182,7 +182,7 @@ oneboot: $(obj)x-load.bin scripts/mkoneboot.sh $(obj)signGP: scripts/signGP.c - gcc -Wall -g -O3 -o $(obj)signGP $< + $(HOSTCC) $(HOSTCFLAGS) -o $(obj)signGP $< ######################################################################### else diff --git a/config.mk b/config.mk index 2edea06..b000d7d 100644 --- a/config.mk +++ b/config.mk @@ -95,7 +95,7 @@ HOSTCC = cc else HOSTCC = gcc endif -HOSTCFLAGS += -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer +HOSTCFLAGS += -Wall -g -O3 HOSTSTRIP = strip #########################################################################