mk: fix dynamic linking option for board native

-pthread is the one supposed to be used because it defines pre-defined
macros as -lpthread doesn't
This commit is contained in:
Lucas De Marchi 2016-01-14 18:43:16 -02:00
parent f5f2e6dcd9
commit 3a24531ade

View File

@ -47,7 +47,7 @@ ifneq ($(SYSTYPE),Darwin)
LDFLAGS += -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
endif
LIBS ?= -lm -lpthread
LIBS ?= -lm -pthread
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
LIBS += -lwinmm
endif