mk: board_native: link with librt

This fix compilation errors on some systems that require linking with that
library in order to use some functions.
This commit is contained in:
Gustavo Jose de Sousa 2016-05-19 16:28:05 -03:00 committed by Lucas De Marchi
parent ed2718a183
commit 89ebe34992

View File

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