Skip to content

Commit

Permalink
ci: MacOS fix - remove rt lib from linker in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 19, 2024
1 parent b048dca commit d3a0948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CPPFLAGS = -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -Iexternal/libguisan/includ
CFLAGS=-pipe -Wno-shift-overflow -Wno-narrowing -fno-pie

LDFLAGS = $(SDL_LDFLAGS) -lSDL2_image -lSDL2_ttf -lserialport -lportmidi -lguisan -Lexternal/libguisan/lib -lmt32emu -Lexternal/mt32emu
LDFLAGS += -Wl,-O1 -lpthread -lz -lpng -lrt -lFLAC -lmpg123 -ldl -lmpeg2convert -lmpeg2 -lstdc++fs -no-pie
LDFLAGS += -Wl,-O1 -lpthread -lz -lpng -lFLAC -lmpg123 -ldl -lmpeg2convert -lmpeg2 -lstdc++fs -no-pie

ifdef USE_OPENGL
CFLAGS += -DUSE_OPENGL
Expand Down

0 comments on commit d3a0948

Please sign in to comment.