diff --git a/disable-broken-tests.patch b/disable-broken-tests.patch index d3bcdf8..9744db5 100644 --- a/disable-broken-tests.patch +++ b/disable-broken-tests.patch @@ -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=, 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