package/libpri: add -fPIC

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=11961

[Retrieved (and updated to keep line under 80 characters) from:
https://bugs.buildroot.org/show_bug.cgi?id=11961]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-08-14 19:55:45 +02:00 committed by Thomas Petazzoni
parent dca1dff501
commit fe9e709254

View File

@ -33,7 +33,8 @@ endif
LIBPRI_UTILS = pridump pritest rosetest testprilib
define LIBPRI_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \
$(LIBPRI_LIBS) $(LIBPRI_UTILS)
endef