SHA256
1
0
forked from pool/findutils

disable-broken-tests.patch: add more context as header information.

OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=77
This commit is contained in:
Bernhard Voelker 2019-06-23 21:51:49 +00:00 committed by Git OBS Bridge
parent ff9dd1348c
commit f2b44d8562

View File

@ -1,3 +1,22 @@
Downstream patch, possibly removed with next upstream findutils version.
gnulib tests: skip some tests to make build with GCC -flto flag work
The gnulib tests 'test-lock' and 'test-thread_create' are failing with the
GCC flag -flto=<N>, link-time optimization.
On OBS, this is with:
%global optflags %optflags %{_lto_cflags}
See also:
- openSUSE:LTO
https://en.opensuse.org/openSUSE:LTO
- [META] GCC + LTO package failures
https://bugzilla.opensuse.org/show_bug.cgi?id=1133084
- LTO: findutils build fails
https://bugzilla.opensuse.org/show_bug.cgi?id=1138800
(boo#1138800)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 537712f..25b9a4d 100644
--- a/tests/Makefile.am