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 \