FreeBSD Bugzilla – Attachment 204380 Details for
Bug 237844
[PATCH] math/mprime: update to 29.8b3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build on i386
mprime_29.8b3_i386.patch (text/plain), 2.03 KB, created by
Ivan Rozhuk
on 2019-05-14 21:09:34 UTC
(
hide
)
Description:
fix build on i386
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-05-14 21:09:34 UTC
Size:
2.03 KB
patch
obsolete
>Index: math/mprime/files/patch-gwnum_makemsys >=================================================================== >--- math/mprime/files/patch-gwnum_makemsys (nonexistent) >+++ math/mprime/files/patch-gwnum_makemsys (working copy) >@@ -0,0 +1,27 @@ >+--- gwnum/makemsys.orig 2019-04-22 22:05:20.000000000 +0300 >++++ gwnum/makemsys 2019-05-14 23:48:06.059075000 +0300 >+@@ -1,13 +1,13 @@ >+ # Makefile for Mingw/msys gwnum library >+ # >+ >+-CC = gcc >+-CFLAGS = -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 -malign-double >++CC ?= cc >++CFLAGS += -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 >+ >+-CPP = g++ >+-CPPFLAGS = -I.. -I../qd -O2 -march=i486 -malign-double >++CXX ?= cc >++CXXFLAGS += -I.. -I../qd -O2 -march=i486 >+ >+-AR = ar >++AR ?= ar >+ >+ LINUXOBJS = cpuid.o gwnum.o gwtables.o gwthread.o gwini.o gwbench.o gwutil.o gwdbldbl.o giants.o ecmstag1.o >+ >+@@ -29,4 +29,4 @@ >+ $(CC) $(CFLAGS) -c $< >+ >+ .cpp.o: >+- $(CPP) $(CPPFLAGS) -c $< >++ $(CXX) $(CXXFLAGS) -c $< >Index: math/mprime/files/patch-linux_makebsd >=================================================================== >--- math/mprime/files/patch-linux_makebsd (nonexistent) >+++ math/mprime/files/patch-linux_makebsd (working copy) >@@ -0,0 +1,20 @@ >+--- linux/makebsd.bak 2019-04-22 22:05:22.000000000 +0300 >++++ linux/makebsd 2019-05-14 23:41:22.010249000 +0300 >+@@ -7,13 +7,13 @@ >+ # >+ >+ CC ?= cc >+-CFLAGS += -I.. -I../gwnum -I$(LOCALBASE)/include -O2 -march=i486 -malign-double >++CFLAGS += -I.. -I../gwnum -I$(LOCALBASE)/include -O2 -march=i486 >+ >+ CXX ?= cc >+-CXXFLAGS += -I.. -I../gwnum -I$(LOCALBASE)/include -O2 -march=i486 -malign-double >++CXXFLAGS += -I.. -I../gwnum -I$(LOCALBASE)/include -O2 -march=i486 >+ >+-LDFLAGS += -fpie -Wl,-M -L$(LOCALBASE)/lib >+-LIBS += ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lhwloc -Wl,-Bstatic -lcurl -lz -lcompat -lstdc++ -Wl,-Bdynamic -lssl -lgmp >++LDFLAGS += -fpie -L$(LOCALBASE)/lib -Wl,-M >++LIBS += ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lhwloc -lcurl -lstdc++ -lcompat -lgmp >+ >+ FACTOROBJ = factor32.o >+ OBJS = prime.o menu.o
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rozhuk.im
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 237844
:
204330
| 204380