- Disable strict aliasing due to bugs in testsuite (#1923456)

f41
Jeff Law 4 years ago
parent f92dc49725
commit 5019a44bfa

@ -3,7 +3,7 @@
Name: glm
Version: 0.9.9.6
Release: 7%{?dist}
Release: 8%{?dist}
Summary: C++ mathematics library for graphics programming
License: MIT
@ -87,10 +87,12 @@ sed -i 's/\r//' test/core/core_setup_message.cpp
%patch1 -p1
%build
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{cmake} -DGLM_TEST_ENABLE=ON
%cmake_build
%check
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
cd %{_vpath_builddir}
# Some tests are disabled due to failing tests (to be reported)
@ -127,6 +129,9 @@ rmdir $RPM_BUILD_ROOT%{_libdir}
%doc doc/api/
%changelog
* Tue Feb 02 2021 Jeff Law <law@redhat.com> - 0.9.9.6-8
- Disable strict aliasing due to bugs in testsuite (#1923456)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save