mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
build: added -lrt for Linux build
This commit is contained in:
parent
c17a5e5ed1
commit
561618b2b2
@ -39,7 +39,7 @@ ifneq ($(SYSTYPE),Darwin)
|
||||
LDFLAGS += -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
|
||||
endif
|
||||
|
||||
LIBS = -lm -lpthread
|
||||
LIBS ?= -lm -lpthread
|
||||
|
||||
ifeq ($(VERBOSE),)
|
||||
v = @
|
||||
|
@ -4,4 +4,5 @@ include $(MK_DIR)/find_tools.mk
|
||||
|
||||
# Linux build is just the same as SITL for now
|
||||
OPTFLAGS = -O0
|
||||
LIBS = -lm -lpthread -lrt
|
||||
include $(MK_DIR)/board_avr_sitl.mk
|
||||
|
Loading…
Reference in New Issue
Block a user