[4/4] package/libss7: add -fPIC
diff mbox series

Message ID 20190814175546.14670-4-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series
  • [1/4] package/dahdi-linux: bump to version 3.0.0
Related show

Commit Message

Fabrice Fontaine Aug. 14, 2019, 5:55 p.m. UTC
Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libss7/libss7.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

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