aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/lmbench
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-04-04 13:51:54 +0800
committerkris <kris@FreeBSD.org>2002-04-04 13:51:54 +0800
commit87895f027732dd7292129465d0e2a13e5bd55ea5 (patch)
treec0dabf2c7bca752b1dc64c649f7fd51d8e0fd9bb /benchmarks/lmbench
parent3b2b4ec51612c3f2c868b34c19d608cdb67e4696 (diff)
downloadfreebsd-ports-graphics-87895f027732dd7292129465d0e2a13e5bd55ea5.tar.gz
freebsd-ports-graphics-87895f027732dd7292129465d0e2a13e5bd55ea5.tar.zst
freebsd-ports-graphics-87895f027732dd7292129465d0e2a13e5bd55ea5.zip
Respect CC and CFLAGS
Noticed by: My new Ultra 30
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r--benchmarks/lmbench/files/patch-aa22
1 files changed, 20 insertions, 2 deletions
diff --git a/benchmarks/lmbench/files/patch-aa b/benchmarks/lmbench/files/patch-aa
index b3002a10950..ab8a4793ecd 100644
--- a/benchmarks/lmbench/files/patch-aa
+++ b/benchmarks/lmbench/files/patch-aa
@@ -1,5 +1,23 @@
---- src/Makefile.orig Wed May 28 01:21:10 1997
-+++ src/Makefile Wed May 28 01:19:40 1997
+--- src/Makefile.orig Sat Nov 11 18:42:41 1995
++++ src/Makefile Thu Apr 4 05:19:26 2002
+@@ -27,7 +27,7 @@
+ # I finally know why Larry Wall's Makefile says "Grrrr".
+ SHELL=/bin/sh
+
+-CC = gcc
++CC ?= gcc
+ O= ../bin/unknown
+ OS=`../scripts/os`
+ BINDIR=../bin/$(OS)
+@@ -37,7 +37,7 @@
+ lmbench/Results/osf1/alpha lmbench/Results/solaris/ss20*
+
+ SYS5=
+-CFLAGS = -O $(SYS5)
++CFLAGS += $(SYS5)
+
+ COMPILE=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
+
@@ -93,7 +93,7 @@
$(MAKE) O=$O CC=cc CFLAGS="$(CFLAGS)" all