Accepting request 967823 from M17N

- Disable 2 warnings that are affected by GCC 12:
  gh#google/googletest#3792 and gh#google/googletest#3793. (forwarded request 967778 from marxin)

OBS-URL: https://build.opensuse.org/request/show/967823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/googletest?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2022-04-10 17:05:14 +00:00 committed by Git OBS Bridge
commit 2f770df215
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} \