diff options
author | pst <pst@FreeBSD.org> | 1996-10-07 16:57:57 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-10-07 16:57:57 +0000 |
commit | be7cda7d466f90b2d9ab2c44baa0c240f0f5d418 (patch) | |
tree | c153a98529a8b67394b2536448188d805ed6d1b1 /benchmarks | |
parent | a4b30e6063405ae0007d6b66bf18f67621cccc1f (diff) | |
download | FreeBSD-ports-be7cda7d466f90b2d9ab2c44baa0c240f0f5d418.zip FreeBSD-ports-be7cda7d466f90b2d9ab2c44baa0c240f0f5d418.tar.gz |
Fix CFLAGS substitutions
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/netperf/scripts/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/netperf/scripts/configure b/benchmarks/netperf/scripts/configure index e2aab28..4609b50 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 |