Browse Source

use --with-pic, otherwise gcj compile in jtools/gcj fails to link to libgmp.a

Waldemar Brodkorb 11 years ago
parent
commit
6a93fa146a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      toolchain/gmp/Makefile

+ 1 - 0
toolchain/gmp/Makefile

@@ -18,6 +18,7 @@ endif
 	(cd $(WRKBUILD); \
 	(cd $(WRKBUILD); \
 		./configure \
 		./configure \
 		--prefix=$(STAGING_HOST_DIR) \
 		--prefix=$(STAGING_HOST_DIR) \
+		--with-pic \
 		--disable-shared \
 		--disable-shared \
 		--enable-static \
 		--enable-static \
 	)
 	)