diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-04-06 07:46:55 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-04-06 07:46:55 +0000 |
commit | add5e05f945b0d72f7b468fa699a886c9a12e3dc (patch) | |
tree | b2bc7485bbef0e7efec815279721877e85994765 /benchmarks/dbench | |
parent | 486cf10a75950e4ad3f743097bb42147153b8e31 (diff) | |
download | ports-add5e05f945b0d72f7b468fa699a886c9a12e3dc.tar.gz ports-add5e05f945b0d72f7b468fa699a886c9a12e3dc.zip |
Notes
Diffstat (limited to 'benchmarks/dbench')
-rw-r--r-- | benchmarks/dbench/files/patch-ac | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/dbench/files/patch-ac b/benchmarks/dbench/files/patch-ac new file mode 100644 index 000000000000..b133f56d7bda --- /dev/null +++ b/benchmarks/dbench/files/patch-ac @@ -0,0 +1,29 @@ +--- Makefile.orig Sun Sep 9 21:21:01 2001 ++++ Makefile Fri Apr 5 23:44:49 2002 +@@ -1,7 +1,7 @@ + VERSION = 1.2.01 + +-CC = gcc +-CFLAGS = -O2 -Wall ++CC ?= gcc ++CFLAGS ?= -O2 -Wall + CPPFLAGS = "-DVERSION=\"$(VERSION)\"" + + DB_OBJS = fileio.o util.o dbench.o child.o +@@ -11,13 +11,13 @@ + all: dbench tbench tbench_srv + + dbench: $(DB_OBJS) +- $(CC) -o $@ $(DB_OBJS) ++ $(CC) $(CFLAGS)-o $@ $(DB_OBJS) + + tbench: $(TB_OBJS) +- $(CC) -o $@ $(TB_OBJS) ++ $(CC) $(CFLAGS) -o $@ $(TB_OBJS) + + tbench_srv: $(SRV_OBJS) +- $(CC) -o $@ $(SRV_OBJS) ++ $(CC) $(CFLAGS) -o $@ $(SRV_OBJS) + + clean: + rm -f *.o *~ dbench tbench tbench_srv |