freebsd-ports/benchmarks/nbench/files/patch-ad
Volker Stolz c68425a12b - Update to 2.2.1
- Prune MASTER_SITEs
- Assign maintainership to submitter

PR:		ports/72809
Submitted by:	Frank J. Laszlo
2004-10-26 14:03:37 +00:00

15 lines
463 B
Text

--- Makefile.orig Mon Oct 18 00:07:05 2004
+++ Makefile Mon Oct 18 00:07:51 2004
@@ -19,10 +19,10 @@
# You should leave -static in the CFLAGS so that your sysinfo can be
# compiled into the executable.
-CC = gcc
+CC ?= gcc
# generic options for gcc
-CFLAGS = -s -static -Wall -O3
+CFLAGS += -static -DDATADIR=\"${PREFIX}/share/nbench/\"
# if your gcc lets you do it, then try this one
#CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops