From be7cda7d466f90b2d9ab2c44baa0c240f0f5d418 Mon Sep 17 00:00:00 2001 From: pst Date: Mon, 7 Oct 1996 16:57:57 +0000 Subject: Fix CFLAGS substitutions --- benchmarks/netperf/scripts/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks') 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 -- cgit