summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-09-16 17:13:39 +0000
committerSven Wegener <swegener@gentoo.org>2006-09-16 17:13:39 +0000
commit8394385e632a9e5fd2cb9415913f8ae810362ae5 (patch)
treef8d9977ed03faba84c7f097a3e68e6c82c5e30fd /app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch
parent stable on ppc (Bug #147777) (diff)
downloadgentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.tar.gz
gentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.tar.bz2
gentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.zip
Add LDFLAGS support.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch')
-rw-r--r--app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch b/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch
new file mode 100644
index 000000000000..9145ae47044a
--- /dev/null
+++ b/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch
@@ -0,0 +1,12 @@
+diff -Nur tiobench-0.3.3.orig/Makefile tiobench-0.3.3/Makefile
+--- tiobench-0.3.3.orig/Makefile 2002-03-13 20:22:55.000000000 +0000
++++ tiobench-0.3.3/Makefile 2006-09-16 17:07:21.181644608 +0000
+@@ -34,7 +34,7 @@
+ $(CC) -c $(CFLAGS) $(DEFINES) tiotest.c -o tiotest.o
+
+ $(EXE): tiotest.o crc32.o
+- $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread
++ $(LINK) -o $(EXE) $(LDFLAGS) tiotest.o crc32.o -lpthread
+ @echo
+ @echo "./tiobench.pl --help for usage options"
+ @echo