From: kub Date: Tue, 8 Feb 2022 20:56:01 +0000 (+0000) Subject: build, add CFLAGS to linking for -flto X-Git-Tag: v2.00~355 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0004aa7cb0acd82ffe703be91a6a6bdd5db32f7c;p=picodrive.git build, add CFLAGS to linking for -flto --- diff --git a/Makefile b/Makefile index 3821ad85..94446a95 100644 --- a/Makefile +++ b/Makefile @@ -314,7 +314,7 @@ $(TARGET): $(OBJS) ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $^ else - $(LD) $(LINKOUT)$@ $^ $(LDFLAGS) $(LDLIBS) + $(LD) $(LINKOUT)$@ $^ $(CFLAGS) $(LDFLAGS) $(LDLIBS) endif ifeq "$(PLATFORM)" "psp"