Respect CC and CFLAGS
This commit is contained in:
parent
814f1c72e8
commit
6d76e81a08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24954
1 changed files with 20 additions and 0 deletions
20
benchmarks/netpipe/files/patch-aa
Normal file
20
benchmarks/netpipe/files/patch-aa
Normal file
|
@ -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
|
Loading…
Reference in a new issue