We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d873d commit f471aecCopy full SHA for f471aec
Makefile
@@ -65,7 +65,7 @@ $(call set-feature, SDL)
65
ifeq ($(call has, SDL), 1)
66
OBJS_EXT += syscall_sdl.o
67
$(OUT)/syscall_sdl.o: CFLAGS += $(shell sdl2-config --cflags)
68
-LDFLAGS += $(shell sdl2-config --libs)
+LDFLAGS += $(shell sdl2-config --libs) -pthread
69
LDFLAGS += $(shell pkg-config --libs SDL2_mixer)
70
endif
71
@@ -83,7 +83,7 @@ $(GDBSTUB_LIB): src/mini-gdbstub/Makefile
83
$(OUT)/decode.o: $(GDBSTUB_LIB)
84
OBJS_EXT += gdbstub.o breakpoint.o
85
CFLAGS += -D'GDBSTUB_COMM="$(GDBSTUB_COMM)"'
86
-LDFLAGS += $(GDBSTUB_LIB) -lpthread
+LDFLAGS += $(GDBSTUB_LIB) -pthread
87
gdbstub-test: $(BIN)
88
$(Q).ci/gdbstub-test.sh && $(call notice, [OK])
89
0 commit comments