FreeBSD Bugzilla – Attachment 202304 Details for
Bug 235976
math/gfan: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
gfan.patch (text/plain), 1.88 KB, created by
Piotr Kubaj
on 2019-02-24 00:02:25 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-02-24 00:02:25 UTC
Size:
1.88 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 493664) >+++ Makefile (working copy) >@@ -16,9 +16,9 @@ > LIB_DEPENDS= libcddgmp.so:math/cddlib \ > libgmp.so:math/gmp > >-USES= gmake >+USES= compiler:c++11-lang gmake localbase > >-CFLAGS+= -I${LOCALBASE}/include -DGMPRATIONAL >+CFLAGS+= -DGMPRATIONAL > > OPTIONS_DEFINE= DOCS EXAMPLES > >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (revision 493664) >+++ files/patch-Makefile (working copy) >@@ -17,7 +17,7 @@ > #OPTFLAGS = -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O3 -mavx -msse2 -finline-limit=1000 -ffast-math -Wuninitialized # -fno-guess-branch-probability #-DNDEBUG -ftree-vectorizer-verbose=2 > #OPTFLAGS = -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O1 -fno-guess-branch-probability > #-DNDEBUG >-@@ -125,9 +125,9 @@ OPTFLAGS = -DGMPRATIONAL -Wuninitial >+@@ -125,9 +125,9 @@ OPTFLAGS = -DGMPRATIONAL -Wuninitialized -fno-omit > #OPTFLAGS = -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O3 -msse2 -ftree-vectorizer-verbose=2 -ffast-math #-DNDEBUG > #OPTFLAGS = -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O3 -mavx -msse2 -ftree-vectorizer-verbose=2 -ffast-math #-DNDEBUG > >@@ -38,3 +38,12 @@ > # If compiling with clang, use the line below instead: > # $(CXX) $(CFLAGS) -c src/symmetrictraversal.cpp -o src/symmetrictraversal.o > >+@@ -420,7 +420,7 @@ default: $(OBJECTS) $(ADDITIONALOBJECTS) $(EXECS) >+ >+ $(MAIN): $(OBJECTS) >+ # $(CCLINKER) $(OBJECTS) $(ADDITIONALLINKOPTIONS) $(GPROFFLAG) -lpthread -o $(MAIN) >+- $(CCLINKER) $(OBJECTS) $(ADDITIONALLINKOPTIONS) $(GPROFFLAG) -lpthread -rdynamic -o $(MAIN) >++ $(CCLINKER) $(OBJECTS) $(LDFLAGS) $(ADDITIONALLINKOPTIONS) $(GPROFFLAG) -lpthread -rdynamic -o $(MAIN) >+ >+ release: >+ rm -f -r $(RELEASEDIR)/*
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
Actions:
View
|
Diff
Attachments on
bug 235976
: 202304