1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/benchmarks/iozone/files/patch-ab
Bill Fumerola cdda09ffa2 Reroll the md5, the FTP site seems to have been updated as of 8/03/1999
While I'm here, strip the binary and make this port respect CFLAGS.
1999-08-08 00:08:21 +00:00

23 lines
713 B
Plaintext

--- makefile.orig Tue Aug 3 11:25:05 1999
+++ makefile Sat Aug 7 20:04:01 1999
@@ -195,7 +195,7 @@
#
freebsd: iozone_freebsd.o libbif.o
- cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
+ cc ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
iozone_freebsd.o libbif.o -o iozone
#
#
@@ -411,8 +411,8 @@
@echo ""
@echo "Build Iozone for FreeBSD"
@echo ""
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM iozone.c -o iozone_freebsd.o
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM libbif.c -o libbif.o