From: Francois Perrad Date: Sat, 30 Apr 2016 08:33:07 +0000 (+0200) Subject: libtommath: build with -fPIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab51fb01f0a6205fb5a86557685561931f68a6e4;p=buildroot.git 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 --- 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