daemon: add -fPIC to CFLAGS

This commit is contained in:
Matthias Ringwald 2018-08-22 16:03:32 +02:00
parent 0b91a77fee
commit 28eca24fc7

View File

@ -104,7 +104,7 @@ echo "BTstack configured for HCI $HCI_TRANSPORT Transport"
CFLAGS="$CFLAGS -Werror -Wall -Wpointer-arith"
# 64-bit compilation requires position independent code (PIC) for libraries
BTSTACK_LIB_LDFLAGS+=" -fpic"
CFLAGS+=" -fPIC"
# summary