summaryrefslogtreecommitdiff
path: root/package/libtommath
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2016-04-30 10:33:07 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-30 14:54:41 +0200
commitab51fb01f0a6205fb5a86557685561931f68a6e4 (patch)
tree1a520b8759d573eb40fa96236ea4c372b3573b37 /package/libtommath
parent62c8864cad27582e0bdb6f8c4a699b77c71a6cb8 (diff)
libtommath: build with -fPIC
This fixes the build on x86_64, see: http://autobuild.buildroot.net/results/212/212469db5dc8399070390603c0fdf7f12b130cda/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libtommath')
-rw-r--r--package/libtommath/libtommath.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk
index 463ea7bd2..eb3b00e86 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