From 02ea12094c6f4879d47d68b83326b66fc84af6e1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 12 Oct 2000 01:41:21 +0000 Subject: - 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. --- lib/libc_r/BENCH/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/libc_r/BENCH') 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 -- cgit v1.2.3