X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=ddf350e8e9ce5788a9f3e021ada5d3966092b2c6;hb=5bdf46b71b26263d090ccdb1c6679afd085f0323;hp=b427a4eed0c6f05a74308592652826fdf3b06426;hpb=ec7023db8dc95966919589541f1ca09355a3f7a5;p=u-boot diff --git a/config.mk b/config.mk index b427a4eed0..ddf350e8e9 100644 --- a/config.mk +++ b/config.mk @@ -250,11 +250,10 @@ CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) -ifdef BUILD_TAG -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ - -DBUILD_TAG='"$(BUILD_TAG)"' -else CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes + +ifdef BUILD_TAG +CFLAGS += -DBUILD_TAG='"$(BUILD_TAG)"' endif CFLAGS_SSP := $(call cc-option,-fno-stack-protector)