ports/math/tetgen/files/patch-makefile
Thierry Thomas 236e504381 Upgrade to 1.4.0 and drop maintainership.
PR:		94247
Submitted by:	Pedro F. Giffuni <giffunip (at) asme.org> (maintainer)
2006-03-15 08:15:05 +00:00

26 lines
654 B
Text

--- makefile.orig Fri Jan 13 15:30:08 2006
+++ makefile Wed Mar 8 16:20:59 2006
@@ -6,12 +6,12 @@
# CC should be set to the name of your favorite C++ compiler.
-CC = g++
+CC = $(CXX)
# OPT is the level of optimiztion, default is -O. One should try -O2, -O3
# ... to find the best optimization level.
-OPT = -g
+OPT = ${CXXFLAGS}
# CFLAGS is a list of switches to compile TetGen.
#
@@ -23,7 +23,7 @@
# down the speed of TetGen. They can be skipped by define the -DNDEBUG
# switch.
-CFLAGS = -Wall -DSELF_CHECK
+CFLAGS = -DNDEBUG
#CFLAGS = -funroll-all-loops -fomit-frame-pointer\
# -Wall -Wabi -Wctor-dtor-privacy \