From: notaz Date: Tue, 17 Oct 2023 22:44:46 +0000 (+0300) Subject: must specify cflags to link X-Git-Tag: r24~104 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f64ac7fd01986bd5cc501ffe7394b09fea0089;p=pcsx_rearmed.git must specify cflags to link important for -mfpu when using lto --- 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);