From 0004aa7cb0acd82ffe703be91a6a6bdd5db32f7c Mon Sep 17 00:00:00 2001 From: kub Date: Tue, 8 Feb 2022 20:56:01 +0000 Subject: [PATCH] build, add CFLAGS to linking for -flto --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5