summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-01-22 22:51:04 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-01-22 22:51:04 +0000
commit6d76e81a08eb0c311c314f2c41e529ba86df329f (patch)
tree698ae0f2cb5b2f7fe794c42f672b449b2b6364f2 /benchmarks
parentremove duplicate patch (diff)
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=24954
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/netpipe/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/benchmarks/netpipe/files/patch-aa b/benchmarks/netpipe/files/patch-aa
new file mode 100644
index 000000000000..4a1c966ffaeb
--- /dev/null
+++ b/benchmarks/netpipe/files/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.orig Sat Jan 22 14:47:22 2000
++++ Makefile Sat Jan 22 14:47:33 2000
+@@ -4,7 +4,7 @@
+ #
+
+ # Default C compiler: must be an ANSI C compiler
+-CC = cc
++CC ?= cc
+ # File names for the main source files
+ DRIV_SRC = netpipe.c
+ DRIV_OBJ = netpipe.o
+@@ -13,7 +13,7 @@
+ TARGETS = NPtcp
+ # If you have TCP, MPI and PVM
+ #TARGETS = NPtcp NPmpi NPpvm
+-CFLAGS = -O
++CFLAGS ?= -O
+ # Adjust these for MPI (only used if you have MPI)
+ MPI_HOME = /home/mpich
+ MPI_ARCH = IRIX