summaryrefslogtreecommitdiffstats
path: root/system/nbench/cflags.patch
diff options
context:
space:
mode:
author Niels Horn <niels.horn@gmail.com>2010-05-13 01:00:58 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:58 +0200
commitb205a68070a29158eb6c7697bcd5c968966c6412 (patch)
tree3c01c03c3d312b5849e9cdf86029c60070bde91a /system/nbench/cflags.patch
parent5854ad6b9d37fe61e189c9bdf011691b70f1e6e5 (diff)
downloadslackbuilds-b205a68070a29158eb6c7697bcd5c968966c6412.tar.gz
slackbuilds-b205a68070a29158eb6c7697bcd5c968966c6412.tar.xz
system/nbench: Added to 13.0 repository
Diffstat (limited to 'system/nbench/cflags.patch')
-rw-r--r--system/nbench/cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/nbench/cflags.patch b/system/nbench/cflags.patch
new file mode 100644
index 0000000000..3c3fc026e0
--- /dev/null
+++ b/system/nbench/cflags.patch
@@ -0,0 +1,11 @@
+--- nbench-byte-2.2.3_orig/Makefile 2004-12-30 00:23:30.000000000 -0200
++++ nbench-byte-2.2.3/Makefile 2010-02-15 13:05:24.000000000 -0200
+@@ -22,7 +22,7 @@
+ CC = gcc
+
+ # generic options for gcc
+-CFLAGS = -s -static -Wall -O3
++CFLAGS = -s -static -Wall -O3 @XTRACFLAGS@
+
+ # if your gcc lets you do it, then try this one
+ #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops