Browse Source

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
mission-4.1.18
Lucas De Marchi 9 years ago
parent
commit
3a24531ade
  1. 2
      mk/board_native.mk

2
mk/board_native.mk

@ -47,7 +47,7 @@ ifneq ($(SYSTYPE),Darwin) @@ -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

Loading…
Cancel
Save