From: LoïMinier Date: Mon, 14 Mar 2011 07:31:57 +0000 (+0530) Subject: Append CFLAGS and HOSTCFLAGS to environment X-Git-Tag: v1.5.0~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2771c53f6dbf742985d73d1db0203bba24dbbad3;p=pandora-x-loader.git Append CFLAGS and HOSTCFLAGS to environment Signed-off-by: LoïMinier Signed-off-by: Anand Gadiyar --- 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