diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2019-02-19 21:47:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-21 23:31:16 +0100 |
commit | 2dd44e5f69c52a1d54282c511419b83e676df61f (patch) | |
tree | e749519fd9fba2b6038ceeeff756900449ff0eda /app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch | |
parent | games-arcade/slimevolley: EAPI-7 bump, drop insignificant USE (diff) | |
download | gentoo-2dd44e5f69c52a1d54282c511419b83e676df61f.tar.gz gentoo-2dd44e5f69c52a1d54282c511419b83e676df61f.tar.bz2 gentoo-2dd44e5f69c52a1d54282c511419b83e676df61f.zip |
app-benchmarks/stress-ng: bump to version 0.09.53
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/11111
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch')
-rw-r--r-- | app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch b/app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch new file mode 100644 index 000000000000..cf08858d361b --- /dev/null +++ b/app-benchmarks/stress-ng/files/stress-ng-0.09.53-makefile.patch @@ -0,0 +1,60 @@ +--- a/Makefile 2019-02-15 13:06:01.000000000 +0100 ++++ b/Makefile 2019-02-19 21:44:10.000000000 +0100 +@@ -21,7 +21,7 @@ + # Codename "portable pressure producer" + # + +-CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -std=gnu99 ++CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -std=gnu99 + + # + # Pedantic flags +@@ -347,12 +347,10 @@ + .o: stress-ng.h Makefile + + .c.o: stress-ng.h Makefile $(SRC) +- @echo "CC $<" +- @$(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + stress-ng: $(OBJS) +- @echo "LD $@" +- @$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@ ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@ + @sync + + makeconfig: +@@ -373,7 +371,7 @@ + sed '$$ s/.$$//' >> apparmor-data.c + @echo "};" >> apparmor-data.c + @echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> apparmor-data.c +- @echo "CC $<" ++ echo "CC $<" + @$(CC) -c apparmor-data.c -o apparmor-data.o + @rm -rf apparmor-data.c apparmor-data.bin + +@@ -389,12 +387,12 @@ + core-perf.o: core-perf.c core-perf-event.c + @$(CC) $(CFLAGS) -E core-perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | \ + awk {'print "#define _SNG_" $$1 " (1)"'} > core-perf-event.h +- @echo CC $< +- @$(CC) $(CFLAGS) -c -o $@ $< ++ echo CC $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + stress-vecmath.o: stress-vecmath.c +- @echo CC $< +- @$(CC) $(CFLAGS) -fno-builtin -c -o $@ $< ++ echo CC $< ++ $(CC) $(CFLAGS) -fno-builtin -c -o $@ $< + @touch stress-ng.c + + $(OBJS): stress-ng.h Makefile +@@ -442,6 +440,6 @@ + mkdir -p ${DESTDIR}${BINDIR} + cp stress-ng ${DESTDIR}${BINDIR} + mkdir -p ${DESTDIR}${MANDIR} +- cp stress-ng.1.gz ${DESTDIR}${MANDIR} ++ cp stress-ng.1 ${DESTDIR}${MANDIR} + mkdir -p ${DESTDIR}${JOBDIR} + cp -rp example-jobs/*.job ${DESTDIR}${JOBDIR} |