summaryrefslogtreecommitdiff
path: root/math/tomsfastmath/files/patch-makefile
blob: 81258ad4ea1b9494d9168556852b1fd2b95e6fc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- makefile.orig	Wed Apr 12 13:16:32 2006
+++ makefile	Wed Apr 12 13:16:48 2006
@@ -11,7 +11,7 @@
 
 ifndef IGNORE_SPEED
 
-CFLAGS += -O3 -funroll-loops
+CFLAGS += -funroll-loops
 
 #profiling
 #PROF=-pg -g
@@ -53,11 +53,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