diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2000-10-12 01:41:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2000-10-12 01:41:21 +0000 |
commit | 02ea12094c6f4879d47d68b83326b66fc84af6e1 (patch) | |
tree | 8f93f8d2aa63346cc703ac4c5714895767cf161a | |
parent | 4dfa6888508882cf893eceb037a69af73178803f (diff) |
- RCS id police!
- remove unnecessary CPPFLAGS and hardcoded optimization level in CFLAGS
- fix execution of the benchmarks, ensure using nice from /usr/bin instead
of the built-in which will fail, always use sh and try to run the binaries
from the obj dir if it's used.
-rw-r--r-- | lib/libc_r/BENCH/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc_r/BENCH/Makefile b/lib/libc_r/BENCH/Makefile index 180c86012a4..ce0bbe95024 100644 --- a/lib/libc_r/BENCH/Makefile +++ b/lib/libc_r/BENCH/Makefile @@ -1,7 +1,8 @@ +# $OpenBSD: Makefile,v 1.3 2000/10/12 01:41:20 brad Exp $ -CPPFLAGS += -pthread +DEBUG = -ggdb +CFLAGS += -Wall LDFLAGS += -pthread -CFLAGS += -O -ggdb METRICS = null once_overhead self_overhead mutex_nocont mutex_cont\ cond_nowait cond_timed MKDEP = -p @@ -9,8 +10,7 @@ SRCS = ${METRICS:=.c} CLEANFILES += ${METRICS} all: ${METRICS} - @${SUDO} nice -n -19 ${SHELL} -c \ - 'ulimit -d 65536; for m in ${METRICS}; do $$m || exit; done' - + @${SUDO} /usr/bin/nice -n -19 sh -c \ + 'ulimit -d 65536; for m in ${METRICS}; do ${.OBJDIR}/$$m || exit; done' .include <bsd.prog.mk> |