From d6676233b10550f35fcf1217c8444b792f4a22bf Mon Sep 17 00:00:00 2001 From: Walter Fetter Lages Date: Thu, 3 Dec 2020 03:18:33 -0300 Subject: [PATCH] Add -fPIC to support ROS Noetic driver. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e5a3cdd..f89f87b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ TARGET=libbno055.a SRCS=bno055.c -FLAGS=-O2 -Wall -MMD +FLAGS=-O2 -Wall -MMD -fPIC INCLUDE=-I. LIBDIR=-L./lib LIBS= -- 2.12.0