Date: Sun, 2 Nov 2003 17:47:19 GMT From: Jens Rehsack <rehsack@liwing.de> To: FreeBSD-gnats-submit@freebsd.org Cc: Jens Rehsack <rehsack@liwing.de> Subject: [PATCH] benchmarks/autobench didn't respect CFLAGS Message-ID: <200311021747.hA2HlJFj053177@helo.liwing.de>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Jens Rehsack >Organization: LiWing IT-Services >Confidential: no >Synopsis: [PATCH] benchmarks/autobench didn't respect CFLAGS >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.1-CURRENT i386 >Environment: System: FreeBSD statler 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Oct 21 09:54:47 GMT 2003 root@statler:/usr/obj/usr/src/sys/STATLER i386 >Description: The web-bench benchmarks/autobench don't respect CFLAGS set in /etc/make.conf. Attached shar contains a patch which solves that. >How-To-Repeat: >Fix: --- shar.patch-Makefile begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # benchmarks/autobench/files/ # benchmarks/autobench/files/patch-Makefile # echo c - benchmarks/autobench/files/ mkdir -p benchmarks/autobench/files/ > /dev/null 2>&1 echo x - benchmarks/autobench/files/patch-Makefile sed 's/^X//' >benchmarks/autobench/files/patch-Makefile << 'END-of-benchmarks/autobench/files/patch-Makefile' X--- Makefile.orig Sat Nov 1 17:15:35 2003 X+++ Makefile Sat Nov 1 17:16:01 2003 X@@ -20,9 +20,9 @@ X endif X X # Compiler & flags X-CC=gcc X-CFLAGS=-O2 -Wall X-DEBUG_FLAGS=-Wall -g X+CC?=gcc X+CFLAGS?=-O2 -Wall X+DEBUG_FLAGSi?=-Wall -g X X all: crfile sesslog X END-of-benchmarks/autobench/files/patch-Makefile exit --- shar.patch-Makefile ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311021747.hA2HlJFj053177>