summarylogtreecommitdiffstats
path: root/unfuck_makefile.patch
diff options
context:
space:
mode:
authorgraysky2016-03-10 16:02:27 -0500
committergraysky2016-03-10 16:02:27 -0500
commitf9f745bb5195bab32c9a8bb34d8ce8625325a0fb (patch)
treed7b9ecb3c8df9b79122b16c9473127195be51d9b /unfuck_makefile.patch
parent8868827fba49b4003373e74a94fd382d6479d28c (diff)
downloadaur-f9f745bb5195bab32c9a8bb34d8ce8625325a0fb.tar.gz
Update to 287-3
Diffstat (limited to 'unfuck_makefile.patch')
-rw-r--r--unfuck_makefile.patch19
1 files changed, 2 insertions, 17 deletions
diff --git a/unfuck_makefile.patch b/unfuck_makefile.patch
index 20ce198b69e2..0251f4f75f96 100644
--- a/unfuck_makefile.patch
+++ b/unfuck_makefile.patch
@@ -1,18 +1,3 @@
---- a/gwnum/makefile 2014-05-29 22:35:10.000000000 -0400
-+++ b/gwnum/makefile 2014-10-09 05:37:38.505853864 -0400
-@@ -2,10 +2,10 @@
- #
-
- CC = gcc
--CFLAGS = -I.. -O2 -march=i486 -malign-double
-+CFLAGS = -I.. -O2 -march=x86-64 -mtune=generic -malign-double
-
- CPP = g++
--CPPFLAGS = -I.. -I../qd -O2 -march=i486 -malign-double
-+CPPFLAGS = -I.. -I../qd -O2 -march=x86-64 -mtune=generic -malign-double
-
- OBJS = cpuid.o gwnum.o gwtables.o gwthread.o gwutil.o gwdbldbl.o giants.o ecmstag1.o
-
--- a/linux64/makefile 2014-05-29 22:35:16.000000000 -0400
+++ b/linux64/makefile 2014-10-09 05:42:54.648403900 -0400
@@ -13,13 +13,13 @@
@@ -20,11 +5,11 @@
CC = gcc
-CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2
-+CFLAGS = -I.. -I../gwnum -march=x86-64 -mtune=generic -O2 -DX86_64 -malign-double -Wno-unused-result
++CFLAGS = -I.. -I../gwnum -march=x86-64 -DX86_64 -O2
CPP = g++
-CPPFLAGS = -I.. -I../gwnum -DX86_64 -O2
-+CPPFLAGS = -I.. -I../gwnum -march=x86-64 -mtune=generic -O2 -DX86_64 -malign-double -Wno-unused-result
++CPPFLAGS = -I.. -I../gwnum -march=x86-64 -O2
LFLAGS = -Wl,-M -Wl,-L/usr/local/lib
-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl