summarylogtreecommitdiffstats
path: root/unfuck_makefile.patch
diff options
context:
space:
mode:
authorgraysky2019-04-13 06:18:40 -0400
committergraysky2019-04-13 06:18:40 -0400
commit0082aac282f5fd051d9d16e8c3b687653bc2a5a9 (patch)
treed1b7717d6d4a27192edc93ebfd5c67b0e3c5cacc /unfuck_makefile.patch
parent7353eef9e7c6f58fa0cfd26d97abd5bb7013f49c (diff)
downloadaur-0082aac282f5fd051d9d16e8c3b687653bc2a5a9.tar.gz
Update to 298b1-1
Diffstat (limited to 'unfuck_makefile.patch')
-rw-r--r--unfuck_makefile.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/unfuck_makefile.patch b/unfuck_makefile.patch
index c62a20827412..cbc57ebc4f0e 100644
--- a/unfuck_makefile.patch
+++ b/unfuck_makefile.patch
@@ -1,14 +1,13 @@
-diff --git a/linux64/makefile b/linux64/makefile
-index 329cb51..88acbc6 100644
---- a/linux64/makefile
-+++ b/linux64/makefile
-@@ -20,15 +20,15 @@
+--- a/linux64/makefile 2019-03-26 16:57:56.000000000 -0400
++++ b/linux64/makefile 2019-04-12 13:27:06.283044502 -0400
+@@ -20,15 +20,17 @@
# LFLAGS = -Wl,-M
# LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic $(shell pkg-config --static --libs libhwloc) -Wl,-Bstatic $(shell pkg-config --static --libs libcurl) -lstdc++ -Wl,-Bdynamic -ldl
+MPRIME_FLAGS=-I.. -I../gwnum -DX86_64 -march=x86-64 -O2 -Wno-unused-result
++
CC = gcc
--CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2
+-CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -Wno-unused-result -O2
+CFLAGS = ${MPRIME_FLAGS}
CPP = g++
@@ -16,7 +15,7 @@ index 329cb51..88acbc6 100644
+CPPFLAGS = ${MPRIME_FLAGS}
LFLAGS = -Wl,-M -Wl,-L/usr/local/lib
--#LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp
+ #LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp
-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl -lgmp
+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread $(shell pkg-config --libs libcurl) -lstdc++ $(shell pkg-config --static --libs hwloc) -lgmp