From e710bf9e210b89a2eff81fdd0ecc47a7f4fb7468 Mon Sep 17 00:00:00 2001 From: Walter Fetter Lages Date: Thu, 3 Dec 2020 03:19:45 -0300 Subject: [PATCH] Add -fPIC to support ROS Noetic driver. --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index d3ef8fc..c5fabf8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,7 +1,7 @@ TARGET=libbno055ifc.a SRCS=bno055_tty.c bno055_delay.c bno055_i2c.c -FLAGS=-O2 -Wall -MMD +FLAGS=-O2 -Wall -MMD -fPIC INCLUDE=-I. -I../include -I../../BNO055_driver LIBDIR= LIBS= -- 2.12.0