lol
1diff -dur src.old/linux/makefile src.new/linux/makefile
2--- src.old/linux/makefile 2018-01-04 20:49:00.000000000 +0300
3+++ src.new/linux/makefile 2018-02-15 12:32:02.913011604 +0300
4@@ -28,8 +28,8 @@
5 CPP = g++
6 CPPFLAGS = -I.. -I../gwnum -O2 -march=i486 -malign-double
7
8-LFLAGS = -Wl,-M -Wl,-L/usr/local/lib
9-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl -lgmp
10+LFLAGS =
11+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lhwloc -lcurl -lrt -lstdc++ -ldl -lgmp
12
13 FACTOROBJ = factor32.o
14 LINUXOBJS = prime.o menu.o
15diff -dur src.old/linux64/makefile src.new/linux64/makefile
16--- src.old/linux64/makefile 2018-01-04 20:49:00.000000000 +0300
17+++ src.new/linux64/makefile 2018-02-15 12:32:28.836286995 +0300
18@@ -26,9 +26,9 @@
19 CPP = g++
20 CPPFLAGS = -I.. -I../gwnum -DX86_64 -O2
21
22-LFLAGS = -Wl,-M -Wl,-L/usr/local/lib
23+LFLAGS =
24 #LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -lz -lxml2 -ldl -lgmp
25-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl -lgmp
26+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lhwloc -lcurl -lrt -lstdc++ -ldl -lgmp
27
28 FACTOROBJ = factor64.o
29 LINUXOBJS = prime.o menu.o
30diff -dur src.old/macosx64/makefile src.new/macosx64/makefile
31--- src.old/macosx64/makefile 2018-01-04 20:49:02.000000000 +0300
32+++ src.new/macosx64/makefile 2018-02-15 12:33:32.401902535 +0300
33@@ -12,7 +12,7 @@
34 CPP = g++
35 CPPFLAGS = -I.. -I../gwnum -I../linux -O2 -DX86_64 -DCOMMAND_LINE_MPRIME -m64
36
37-LFLAGS = -m64 -Wl,-no_pie -L/usr/local/lib
38+LFLAGS = -m64 -Wl,-no_pie
39 LIBS = ../gwnum/amd64/release/gwnum.a -lm -lpthread -lhwloc -lcurl -framework IOKit -framework CoreFoundation -lstdc++ -lgmp
40
41 FACTOROBJ = ../prime95/macosx64/factor64.o