summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/scripts/configure
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/netperf/scripts/configure
parentAdd 75dpi and misc fonts now (diff)
Fix CFLAGS substitutions
Notes
Notes: svn path=/head/; revision=3925
Diffstat (limited to '')
-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