freebsd-ports/math/libtommath/files/patch-makefile
Sergey Matveychuk 231f070d12 - Remove -O3 optimization from CFLAGS
PR:		ports/85608
Submitted by:	maintainer
2005-09-02 14:42:08 +00:00

24 lines
722 B
Text

--- makefile.orig Mon Aug 1 12:34:44 2005
+++ makefile Wed Aug 31 15:19:42 2005
@@ -10,7 +10,7 @@
ifndef IGNORE_SPEED
#for speed
-CFLAGS += -O3 -funroll-loops
+CFLAGS += -funroll-loops
#for size
#CFLAGS += -Os
@@ -48,9 +48,9 @@
#INCPATH-The directory to install the header files for libtommath.
#DATAPATH-The directory to install the pdf docs.
DESTDIR=
-LIBPATH=/usr/lib
-INCPATH=/usr/include
-DATAPATH=/usr/share/doc/libtommath/pdf
+LIBPATH=${PREFIX}/lib
+INCPATH=${PREFIX}/include
+DATAPATH=${PREFIX}/share/doc/libtommath/pdf
OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \
bn_mp_clamp.o bn_mp_zero.o bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \