aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-10-07 16:57:57 +0000
committerPaul Traina <pst@FreeBSD.org>1996-10-07 16:57:57 +0000
commit2d1a28c853c1115f75f4ef738f15bee61653d735 (patch)
tree572b303b4c2937eb46e3bbf82dcf1a337fe00195 /benchmarks
parente2c9193b6f909d1738626b93a426f2cb838e7190 (diff)
downloadports-2d1a28c853c1115f75f4ef738f15bee61653d735.tar.gz
ports-2d1a28c853c1115f75f4ef738f15bee61653d735.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/netperf/scripts/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/netperf/scripts/configure b/benchmarks/netperf/scripts/configure
index e2aab28b4bcf..4609b504ec93 100644
--- a/benchmarks/netperf/scripts/configure
+++ b/benchmarks/netperf/scripts/configure
@@ -1,6 +1,5 @@
#!/bin/sh
#
-cd $WRKSRC
#
# If this is FreeBSD 2.2 or later, this will work. Older FreeBSD versions
# will set CFLAGS to "". Life's a bitch.
@@ -11,6 +10,7 @@ if [ X"$CFLAGS" = X ] ; then
CFLAGS="-O2 -fno-strength-reduce"
fi
+cd $WRKSRC
echo "Setting CFLAGS to \"$CFLAGS\""
sed -e "s/%CFLAGS%/${CFLAGS}/" makefile >makefile.new
mv -f makefile makefile.orig2