Skip to content

Commit

Permalink
must specify cflags to link
Browse files Browse the repository at this point in the history
important for -mfpu when using lto
  • Loading branch information
notaz committed Oct 17, 2023
1 parent 2e5861a commit 4f7d270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ $(TARGET): $(OBJS)
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJS)
else
$(CC_LINK) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(EXTRA_LDFLAGS)
$(CC_LINK) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(EXTRA_LDFLAGS)
endif

clean: $(PLAT_CLEAN) clean_plugins
Expand Down
2 changes: 1 addition & 1 deletion frontend/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f7d270

Please sign in to comment.