diff mbox series

[4/4] package/libss7: add -fPIC

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 | expand

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(-)

Comments

Peter Korsgaard Sept. 2, 2019, 3:14 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - No autobuilder failures

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.05.x, thanks.
diff mbox series

Patch

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