keep nullptr-checks with GCC6

This commit is contained in:
Björn Esser 2016-03-29 10:37:41 +02:00
parent 40513c2cb4
commit acaa31f22a
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,11 @@
# CMake-builds go out-of-tree.
%global _cmake_build_subdir build-%{?_arch}%{?dist}
# Keep nullptr-checks with GCC6.
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
%global optflags %(echo '%{optflags} -fno-delete-null-pointer-checks')
%endif # 0%%{?fedora} >= 24 || 0%%{?rhel} >= 8
Name: lib%{libsuffix}
Version: 3.2.4
Release: 1%{?dist}
@ -138,6 +143,7 @@ popd
* Tue Mar 29 2016 Björn Esser <fedora@besser82.io> - 3.2.4-1
- new upstream release
- drop Patch1, applied in upstream tarball
- keep nullptr-checks with GCC6
* Wed Feb 10 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 3.2.1-5
- Add 0001-Fixed-a-compilation-error-in-YTableCell-with-GCC-6-b.patch