64bit fix for Linux - compile libfdm.a with -fPIC.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 04 Jul 2015 16:12:25 +0100
changeset 3491 f00e158ecd02
parent 3490 d1f1f631257b
child 3493 4c7b405cf1ca
64bit fix for Linux - compile libfdm.a with -fPIC. After Stefan's changes in stx/configuration makefiles.
Make.proto
stx_libjava.st
--- a/Make.proto	Thu Jul 02 22:46:40 2015 +0100
+++ b/Make.proto	Sat Jul 04 16:12:25 2015 +0100
@@ -91,7 +91,7 @@
 	cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG)
 
 support/fdlibm/libfdm.a:
-	$(MAKE) CCCONFOPT="$(CCCONFOPT)" -C support/fdlibm
+	$(MAKE) CCCONFOPT="$(CCCONFOPT) -fPIC" -C support/fdlibm
 
 
 
--- a/stx_libjava.st	Thu Jul 02 22:46:40 2015 +0100
+++ b/stx_libjava.st	Sat Jul 04 16:12:25 2015 +0100
@@ -239,7 +239,7 @@
         cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG)
 
 support/fdlibm/libfdm.a:
-        $(MAKE) CCCONFOPT="$(CCCONFOPT)" -C support/fdlibm
+        $(MAKE) CCCONFOPT="$(CCCONFOPT) -fPIC" -C support/fdlibm
 
 '