Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libtommath: add -fPIC
@ 2016-04-30  8:33 Francois Perrad
  2016-04-30 12:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Francois Perrad @ 2016-04-30  8:33 UTC (permalink / raw)
  To: buildroot

fix build with x86_64, see http://autobuild.buildroot.net/results/212/212469db5dc8399070390603c0fdf7f12b130cda/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 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 463ea7b..eb3b00e 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
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-01  7:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30  8:33 [Buildroot] [PATCH] libtommath: add -fPIC Francois Perrad
2016-04-30 12:55 ` Thomas Petazzoni
2016-04-30 18:43   ` Peter Korsgaard
2016-04-30 19:13     ` Thomas Petazzoni
2016-04-30 19:43       ` Peter Korsgaard
2016-05-01  7:35         ` Thomas Petazzoni
2016-05-01  6:49     ` François Perrad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox