diff options
author | 2000-10-12 01:41:20 +0000 | |
---|---|---|
committer | 2000-10-12 01:41:20 +0000 | |
commit | 204e3e4285f272ebfa10b55280cd77330ece9eb3 (patch) | |
tree | 999e0118cd3749eb8748100c66d1f83d509d8d46 | |
parent | refix breakage in previous commit, d@ forgot to remove his change while (diff) | |
download | wireguard-openbsd-204e3e4285f272ebfa10b55280cd77330ece9eb3.tar.xz wireguard-openbsd-204e3e4285f272ebfa10b55280cd77330ece9eb3.zip |
- 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> |