SHA256
1
0
forked from pool/piglit

- Fix building with gcc10

OBS-URL: https://build.opensuse.org/package/show/benchmark/piglit?expand=0&rev=21
This commit is contained in:
Martin Pluskal 2020-06-11 08:54:23 +00:00 committed by Git OBS Bridge
parent 8292cbdb5b
commit 67079e8ba5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 11 08:54:01 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Fix building with gcc10
-------------------------------------------------------------------
Tue Dec 10 13:08:06 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -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 \