diff options
| author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-08-01 23:37:02 +0000 |
|---|---|---|
| committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-08-01 23:37:02 +0000 |
| commit | ef2ecca4b33f18228c45309c5786d61702ca9a18 (patch) | |
| tree | 1b448ac3ad6529f1b9c4a26e2cced12062e7632d /benchmarks/nbench/files/patch-ad | |
| parent | 128571445c5cb63ed311d34326c973ce22e5057f (diff) | |
- Support PREFIX/CC/CFLAGS properly
- Support NOPORTDOCS
- Add WWW: line into pkg/DESCR
PR: 20148
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'benchmarks/nbench/files/patch-ad')
| -rw-r--r-- | benchmarks/nbench/files/patch-ad | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/nbench/files/patch-ad b/benchmarks/nbench/files/patch-ad new file mode 100644 index 000000000000..01a8c8dcd411 --- /dev/null +++ b/benchmarks/nbench/files/patch-ad @@ -0,0 +1,15 @@ +--- Makefile.orig Fri Dec 12 05:54:46 1997 ++++ Makefile Tue Jul 25 02:27:40 2000 +@@ -22,10 +22,10 @@ + # you should leave -static in the CFLAGS so that your sysinfo can be + # compiled into the executable + +-CC = gcc ++CC ?= gcc + + # generic options for gcc +-CFLAGS = -s -static -Wall -O3 ++CFLAGS += -static -DDATADIR=\"${PREFIX}/share/nbench/\" + + # if your gcc lets you do it, then try this one + #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops |
