From f2b44d8562fcc92f1ae86fa3577b5a5bc76007c7e9586ed8f6483ad9bd8a75ff Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sun, 23 Jun 2019 21:51:49 +0000 Subject: [PATCH] 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 --- disable-broken-tests.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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