diff options
Diffstat (limited to 'chip/mchp/build.mk')
-rw-r--r-- | chip/mchp/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mchp/build.mk b/chip/mchp/build.mk index c3883a0e6f..60682d2ed9 100644 --- a/chip/mchp/build.mk +++ b/chip/mchp/build.mk @@ -80,7 +80,7 @@ objs_lfw += $(out)/RW/common/version.o dirs-y+=chip/$(CHIP)/lfw # objs with -lfw suffix are to include lfw's gpio -$(out)/RW/%-lfw.o: private CC+=-I$(BDIR)/lfw -DLFW +$(out)/RW/%-lfw.o: private CC+=-I$(BDIR)/lfw -DLFW=$(EMPTY) # Remove the lto flag for the loader. It actually causes it to bloat in size. ifeq ($(CONFIG_LTO),y) $(out)/RW/%-lfw.o: private CFLAGS_CPU := $(filter-out -flto, $(CFLAGS_CPU)) |