better gmp compile for linux64 (does not crash on a GMP function we do not use)
authorRudolf Polzer <divVerent@alientrap.org>
Sat, 28 Aug 2010 20:40:01 +0000 (22:40 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Sat, 28 Aug 2010 20:40:01 +0000 (22:40 +0200)
misc/builddeps/dp.linux64/include/gmp.h
misc/builddeps/dp.linux64/lib/libgmp.a
misc/builddeps/dp.linux64/lib/libgmp.la
misc/builddeps/dp.linux64/lib/libgmp.so.10.0.1

index e8cc9b39c8b1ad3422fedf4c029f8fcb63494591..42a2a8910a539ceaa8d19da5045fb691b14ce917 100644 (file)
@@ -2268,7 +2268,7 @@ enum
 
 /* Define CC and CFLAGS which were used to build this version of GMP */
 #define __GMP_CC "gcc -std=gnu99"
-#define __GMP_CFLAGS "-O2 -pedantic -m64 -mtune=k8 -march=k8"
+#define __GMP_CFLAGS "-fno-strict-aliasing"
 
 /* Major version number is the value of __GNU_MP__ too, above and in mp.h. */
 #define __GNU_MP_VERSION 5
index aa13082eb7318bc080ee43e4917531a18bf0b260..754a095b312e5f4a7302ae8eb22cd81300187756 100644 (file)
Binary files a/misc/builddeps/dp.linux64/lib/libgmp.a and b/misc/builddeps/dp.linux64/lib/libgmp.a differ
index 1be710a1294b5493a3c59e607c44b88888540190..23e4b0c4cd566eb40cd17edecc925e53064ddadc 100755 (executable)
@@ -17,7 +17,7 @@ old_library='libgmp.a'
 inherited_linker_flags=''
 
 # Libraries that this one depends upon.
-dependency_libs=''
+dependency_libs=' -L/home/xonotic/dp.linux64/lib'
 
 # Names of additional weak libraries provided by this library
 weak_library_names=''
index 818c09e7c4ea7785fac9543f1771ac79b3184413..fc7abbae22391e8b534c5fa4b0e66f2a744c136f 100755 (executable)
Binary files a/misc/builddeps/dp.linux64/lib/libgmp.so.10.0.1 and b/misc/builddeps/dp.linux64/lib/libgmp.so.10.0.1 differ