diff options
author | graysky | 2017-10-18 15:24:54 -0400 |
---|---|---|
committer | graysky | 2017-10-18 15:24:54 -0400 |
commit | 089efd56e09178bf69397479079c875aea469bd9 (patch) | |
tree | 3c76c2c37a024a767a12df0f1aa174e46b99067b /unfuck_makefile.patch | |
parent | bc91d9163b4c87d9c77ce2de7271ee03ce070f6f (diff) | |
download | aur-089efd56e09178bf69397479079c875aea469bd9.tar.gz |
Update to 293-1
Diffstat (limited to 'unfuck_makefile.patch')
-rw-r--r-- | unfuck_makefile.patch | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/unfuck_makefile.patch b/unfuck_makefile.patch index b99034e0f19d..c62a20827412 100644 --- a/unfuck_makefile.patch +++ b/unfuck_makefile.patch @@ -1,19 +1,24 @@ ---- a/linux64/makefile 2017-03-18 21:18:04.000000000 -0400 -+++ b/linux64/makefile 2017-03-20 09:38:23.273509623 -0400 -@@ -21,13 +21,13 @@ +diff --git a/linux64/makefile b/linux64/makefile +index 329cb51..88acbc6 100644 +--- a/linux64/makefile ++++ b/linux64/makefile +@@ -20,15 +20,15 @@ + # 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 -march=x86-64 -DX86_64 -O2 -Wno-unused-result ++CFLAGS = ${MPRIME_FLAGS} CPP = g++ -CPPFLAGS = -I.. -I../gwnum -DX86_64 -O2 -+CPPFLAGS = -I.. -I../gwnum -march=x86-64 -O2 -Wno-unused-result ++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 -+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread $(shell pkg-config --libs libcurl) -lstdc++ $(shell pkg-config --static --libs hwloc) +-#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 FACTOROBJ = factor64.o LINUXOBJS = prime.o menu.o |