Added -fPIC option when building jlink-nuttx.so.
This commit is contained in:
parent
bc6b3f34c8
commit
47e40842a7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user