From 07f64ac7fd01986bd5cc501ffe7394b09fea0089 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 18 Oct 2023 01:44:46 +0300 Subject: [PATCH] must specify cflags to link important for -mfpu when using lto --- Makefile | 2 +- frontend/plugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d57f2cb..bf528b14 100644 --- a/Makefile +++ b/Makefile @@ -293,7 +293,7 @@ frontend/revision.h: FORCE target_: $(TARGET) $(TARGET): $(OBJS) - $(CC_LINK) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(EXTRA_LDFLAGS) + $(CC_LINK) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(EXTRA_LDFLAGS) clean: $(PLAT_CLEAN) clean_plugins $(RM) $(TARGET) $(OBJS) $(TARGET).map frontend/revision.h diff --git a/frontend/plugin.c b/frontend/plugin.c index e9dbcacb..3683b500 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -135,7 +135,7 @@ extern void GPUwriteDataMem(uint32_t *, int); extern uint32_t GPUreadStatus(void); extern uint32_t GPUreadData(void); extern void GPUreadDataMem(uint32_t *, int); -extern long GPUdmaChain(uint32_t *,uint32_t); +extern long GPUdmaChain(uint32_t *, uint32_t, uint32_t *); extern void GPUupdateLace(void); extern long GPUfreeze(uint32_t, void *); extern void GPUvBlank(int, int); -- 2.39.5