From b6918129141cc9e40edf936a1b741e415adeb658 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lo=C3=AFMinier?= Date: Mon, 14 Mar 2011 13:01:59 +0530 Subject: [PATCH] Merge signGP cflags into HOSTCFLAGS and use these MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: LoïMinier Signed-off-by: Anand Gadiyar --- Makefile | 2 +- config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ######################################################################### -- 2.39.5