From: Fabrice Fontaine Date: Wed, 14 Aug 2019 17:55:46 +0000 (+0200) Subject: package/libss7: add -fPIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3f169fa78514691fa85dbdf5e6a51ff8301241c;p=buildroot.git package/libss7: add -fPIC Fixes: - No autobuilder failures Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libss7/libss7.mk b/package/libss7/libss7.mk index 541505b264..151b6a61b5 100644 --- a/package/libss7/libss7.mk +++ b/package/libss7/libss7.mk @@ -36,7 +36,8 @@ endif LIBSS7_UTILS = parser_debug ss7test ss7linktest define LIBSS7_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) \ $(LIBSS7_LIBS) $(LIBSS7_UTILS) endef