Force -fPIC in CFLAGS for xenomai targets.
authorEdouard Tisserant
Wed, 09 May 2018 13:16:00 +0200
changeset 806 b9f1fcda7d30
parent 805 570e3a444023
child 807 46027bb24429
Force -fPIC in CFLAGS for xenomai targets.
configure
--- a/configure	Mon Apr 23 12:32:03 2018 +0200
+++ b/configure	Wed May 09 13:16:00 2018 +0200
@@ -483,7 +483,7 @@
 
 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then
     SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$XENO_CONFIG --skin=alchemy --skin=rtdm --ldflags`\ 
-	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_XENO\ `$XENO_CONFIG --skin=alchemy --skin=rtdm --cflags`
+	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -fPIC\ -DUSE_XENO\ `$XENO_CONFIG --skin=alchemy --skin=rtdm --cflags`
     RTCAN_SOCKET=1
 fi