From 3a24531ade7c804d6522b2d510cb8107566a6bd2 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 14 Jan 2016 18:43:16 -0200 Subject: [PATCH] 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 --- mk/board_native.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/board_native.mk b/mk/board_native.mk index 4bd87d4e44..cc9a783f0a 100644 --- a/mk/board_native.mk +++ b/mk/board_native.mk @@ -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