summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-14 21:23:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-14 21:23:08 +0100
commit6a93fa146ab8c42512f08143b187b032888d2454 (patch)
treeb008741d86d6180c316d72aeb0223dec4cca5b85
parent0b3dfd5b3eb3eafb9fc731446e0c840e791c5c27 (diff)
use --with-pic, otherwise gcj compile in jtools/gcj fails to link to libgmp.a
-rw-r--r--toolchain/gmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index fb9e7425e..33982ed17 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -18,6 +18,7 @@ endif
(cd $(WRKBUILD); \
./configure \
--prefix=$(STAGING_HOST_DIR) \
+ --with-pic \
--disable-shared \
--enable-static \
)