gentoo-ebuilds/app-benchmarks/interbench/files/interbench-0.31-makefile.patch
Conrad Kostecki 50a19d3c52
app-benchmarks/interbench: new package.
The Linux interactivity benchmark.

It is designed to measure the effect of changed in Linux kernel design or
system configuration changes such as CPU, I/O scheduler and filesystem changes
and options.

Closes: https://bugs.gentoo.org/100145
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10316
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
2019-02-22 22:08:25 +01:00

16 lines
449 B
Diff

--- a/Makefile 2016-10-21 04:28:00.000000000 +0200
+++ b/Makefile 2018-11-01 16:56:36.000000000 +0100
@@ -1,8 +1,9 @@
-CC=gcc
-CFLAGS=-W -Wall -g -O2 -s -pipe
-LDFLAGS=-lrt -lm -pthread
+CC ?= gcc
+CFLAGS+=-W -Wall
+LDFLAGS+=-lrt -lm -pthread
-interbench: interbench.o hackbench.o -lm
+interbench: interbench.o hackbench.o
+ $(CC) $(CFLAGS) -o interbench interbench.o hackbench.o $(LDFLAGS)
interbench.o: interbench.c
hackbench.o: hackbench.c