ports/math/tomsfastmath/files/patch-makefile
Sergey Matveychuk f039f760bc - Remove -O3 optimization. It should fix fails on sparc64
PR:		ports/85610
Submitted by:	maintainer
2005-09-02 14:43:19 +00:00

25 lines
425 B
Text

--- makefile.orig Mon Aug 1 12:34:18 2005
+++ makefile Wed Aug 31 15:30:39 2005
@@ -7,7 +7,7 @@
ifndef IGNORE_SPEED
-CFLAGS += -O3 -funroll-all-loops
+CFLAGS += -funroll-all-loops
#profiling
#PROF=-pg -g
@@ -49,11 +49,11 @@
HEADERS=tfm.h
ifndef LIBPATH
- LIBPATH=/usr/lib
+ LIBPATH=${PREFIX}/lib
endif
ifndef INCPATH
- INCPATH=/usr/include
+ INCPATH=${PREFIX}/include
endif
ifndef INSTALL_GROUP