This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 47e40842a7 Added -fPIC option when building jlink-nuttx.so.
47e40842a7 is described below

commit 47e40842a70e2e7f679c9d7ac4c9748c510eedd0
Author: Fotis Panagiotopoulos <f.pa...@amco.gr>
AuthorDate: Wed Jun 29 11:34:45 2022 +0300

    Added -fPIC option when building jlink-nuttx.so.
---
 tools/Makefile.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Makefile.host b/tools/Makefile.host
index fdc06a4606..938a6e9d4e 100644
--- a/tools/Makefile.host
+++ b/tools/Makefile.host
@@ -228,7 +228,7 @@ endif
 # jlink-nuttx - Create jlink GDBServer nuttx plugin
 
 jlink-nuttx$(HOSTDYNEXT): jlink-nuttx.c
-       $(Q) $(HOSTCC) $(HOSTCFLAGS) -shared jlink-nuttx.c -o 
jlink-nuttx$(HOSTDYNEXT)
+       $(Q) $(HOSTCC) $(HOSTCFLAGS) -shared -fPIC jlink-nuttx.c -o 
jlink-nuttx$(HOSTDYNEXT)
 
 ifdef HOSTDYNEXT
 jlink-nuttx: jlink-nuttx$(HOSTDYNEXT)

Reply via email to