From ab51fb01f0a6205fb5a86557685561931f68a6e4 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 30 Apr 2016 10:33:07 +0200 Subject: [PATCH] libtommath: build with -fPIC This fixes the build on x86_64, see: http://autobuild.buildroot.net/results/212/212469db5dc8399070390603c0fdf7f12b130cda/ Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/libtommath/libtommath.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 463ea7bd2c..eb3b00e861 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -13,7 +13,7 @@ LIBTOMMATH_INSTALL_STAGING = YES LIBTOMMATH_INSTALL_TARGET = NO # only static library define LIBTOMMATH_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ $(TARGET_CFLAGS)" + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)" endef define LIBTOMMATH_INSTALL_STAGING_CMDS