Accepting request 967778 from home:marxin:branches:M17N

- Disable 2 warnings that are affected by GCC 12:
  gh#google/googletest#3792 and gh#google/googletest#3793.

OBS-URL: https://build.opensuse.org/request/show/967778
OBS-URL: https://build.opensuse.org/package/show/M17N/googletest?expand=0&rev=31
This commit is contained in:
Hillwood Yang 2022-04-08 12:40:43 +00:00 committed by Git OBS Bridge
parent ed563f9804
commit d0163eb84f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 8 11:34:37 UTC 2022 - Martin Liška <mliska@suse.cz>
- Disable 2 warnings that are affected by GCC 12:
gh#google/googletest#3792 and gh#google/googletest#3793.
-------------------------------------------------------------------
Wed Feb 2 15:56:01 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -83,6 +83,8 @@ with googlemock.
%setup -q -n %{name}-release-%{version}
%build
%global optflags %(echo "%{optflags} -Wno-infinite-recursion -Wno-deprecated-declarations")
%cmake \
%{?with_tests:-Dgtest_build_tests=ON} \
%{?with_tests:-Dgmock_build_tests=ON} \