package/libss7: add -fPIC
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 14 Aug 2019 17:55:46 +0000 (19:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 17 Aug 2019 20:27:52 +0000 (22:27 +0200)
Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libss7/libss7.mk

index 541505b2647142034d86e579042bd8cf01075f0a..151b6a61b51ed8b732b9a8ddddf8383bd59d9e65 100644 (file)
@@ -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