From e3f169fa78514691fa85dbdf5e6a51ff8301241c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 14 Aug 2019 19:55:46 +0200 Subject: [PATCH] package/libss7: add -fPIC Fixes: - No autobuilder failures Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libss7/libss7.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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