Skip to contentSkip to conversation

Jan Kiszka : boilerplate: Allow for enabling Xenomai only in shared libs

Xenomai Gilles Chanteperdrix 2 participants 2 messages May 6, 2016 – May 9, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

lib/boilerplate/init/Makefile.am libbootstrap_a_SOURCES = bootstrap.c · line 9

Quoted 11 lines · git repository hosting
lib/boilerplate/init/Makefile.am +1 -0
index 7a58f54..8c09e28 100644
@@ -4,6 +4,7 @@ libbootstrap_a_SOURCES = bootstrap.c
 
 libbootstrap_a_CPPFLAGS =		\
 	@XENO_USER_CFLAGS@		\
+	-fPIC				\
 	-I$(top_srcdir)/include		\
 	-I$(top_srcdir)/lib

This is not how this should be done.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#2 lore raw
Quoted 7 lines · Gilles Chanteperdrix
Quoted 6 lines · git repository hosting
lib/boilerplate/init/Makefile.am +0 -0
index 7a58f54..8c09e28 100644
@@ -4,6 +4,7 @@ libbootstrap_a_SOURCES = bootstrap.c
 
Quoted 8 lines

lib/boilerplate/init/Makefile.am libbootstrap_a_SOURCES = bootstrap.c · line 9

Quoted 5 lines
lib/boilerplate/init/Makefile.am +1 -0
 libbootstrap_a_CPPFLAGS =		\
 	@XENO_USER_CFLAGS@		\
+	-fPIC				\
 	-I$(top_srcdir)/include		\
 	-I$(top_srcdir)/lib

This is not how this should be done.

The patch was just still in my queue when I rebased, as reminder of the unsolved issue. Now I remember that Philippe and I discussed this a while back and he had some ideas. They are probably still on the stack of to-dos.

I'll move this to the top and keep it local - as reminder.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux