From 2771c53f6dbf742985d73d1db0203bba24dbbad3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lo=C3=AFMinier?= Date: Mon, 14 Mar 2011 13:01:57 +0530 Subject: [PATCH] Append CFLAGS and HOSTCFLAGS to environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: LoïMinier Signed-off-by: Anand Gadiyar --- config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.mk b/config.mk index 80bc0ad..2edea06 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 -Wstrict-prototypes -O2 -fomit-frame-pointer HOSTSTRIP = strip ######################################################################### @@ -143,10 +143,10 @@ CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) ifdef BUILD_TAG -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ +CFLAGS += $(CPPFLAGS) -Wall -Wstrict-prototypes \ -DBUILD_TAG='"$(BUILD_TAG)"' else -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes +CFLAGS += $(CPPFLAGS) -Wall -Wstrict-prototypes endif ifeq ($(ARCH),arm) CFLAGS += -marm -fno-stack-protector -- 2.39.5