diff options
author | kris <kris@FreeBSD.org> | 2002-04-06 15:46:55 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-04-06 15:46:55 +0800 |
commit | 7845ea478eda67cc568da5336db46eef379cc1a1 (patch) | |
tree | 308051dcbc86a2deecf4af3c92f9617d043dc260 /benchmarks/dbench/files | |
parent | b94f29be215e397cdfafc4dd6e4ec84f9ee60a24 (diff) | |
download | freebsd-ports-gnome-7845ea478eda67cc568da5336db46eef379cc1a1.tar.gz freebsd-ports-gnome-7845ea478eda67cc568da5336db46eef379cc1a1.tar.zst freebsd-ports-gnome-7845ea478eda67cc568da5336db46eef379cc1a1.zip |
Respect CC and CFLAGS
Diffstat (limited to 'benchmarks/dbench/files')
-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 |