From 67079e8ba58b88da4e549d25191edf4ed622a6d2207cb93a5bde8f8d32d54442 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 11 Jun 2020 08:54:23 +0000 Subject: [PATCH] - Fix building with gcc10 OBS-URL: https://build.opensuse.org/package/show/benchmark/piglit?expand=0&rev=21 --- piglit.changes | 5 +++++ piglit.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/piglit.changes b/piglit.changes index 8934300..f129375 100644 --- a/piglit.changes +++ b/piglit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 11 08:54:01 UTC 2020 - Martin Pluskal + +- Fix building with gcc10 + ------------------------------------------------------------------- Tue Dec 10 13:08:06 UTC 2019 - Martin Pluskal diff --git a/piglit.spec b/piglit.spec index ee3c5d2..deddfe8 100644 --- a/piglit.spec +++ b/piglit.spec @@ -1,7 +1,7 @@ # # spec file for package piglit # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ be generated, including the ability to compare different test runs. -DPIGLIT_BUILD_GL_ES2_TESTS=OFF \ -DPIGLIT_BUILD_GL_ES3_TESTS=OFF \ %endif + -DCMAKE_C_FLAGS="%{optflags} -fcommon -DNDEBUG" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \