From: Fabrice Fontaine Date: Wed, 14 Aug 2019 17:55:45 +0000 (+0200) Subject: package/libpri: add -fPIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe9e709254c3bae8da5428f06a37900269537b64;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/libpri/libpri.mk b/package/libpri/libpri.mk index 2e2d0e8a6c..e1fa2abcf5 100644 --- a/package/libpri/libpri.mk +++ b/package/libpri/libpri.mk @@ -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