raspi: add -lrt to fix build

This commit is contained in:
Matthias Ringwald 2019-10-30 11:28:08 +01:00
parent f346f180a4
commit 6c81f8f281
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,9 @@ CFLAGS += -g -Wall -Werror \
-I$(BTSTACK_ROOT)/chipset/bcm \
-I${BTSTACK_ROOT}/3rd-party/tinydir
# add 'real time' lib for clock_gettime
LDFLAGS += -lrt
VPATH += ${BTSTACK_ROOT}/platform/posix
VPATH += ${BTSTACK_ROOT}/platform/embedded

View File

@ -9,7 +9,6 @@
#define HAVE_MALLOC
#define HAVE_POSIX_FILE_IO
#define HAVE_BTSTACK_STDIN
#define HAVE_POSIX_TIME
// BTstack features that can be enabled
#define ENABLE_BLE