Use -fno-strict-aliasing to prevent strict_aliasing warnings/errors

This commit is contained in:
Roman Rakus 2009-02-12 13:36:28 +00:00
parent 5104758709
commit 334f8684ef

View File

@ -1,7 +1,7 @@
Summary: A collection of CD/DVD utilities Summary: A collection of CD/DVD utilities
Name: cdrkit Name: cdrkit
Version: 1.1.9 Version: 1.1.9
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Group: Applications/System Group: Applications/System
URL: http://cdrkit.org/ URL: http://cdrkit.org/
@ -77,7 +77,7 @@ find doc -type f -print0 | xargs -0 chmod a-x
%build %build
mkdir fedora mkdir fedora
cd fedora cd fedora
export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable" export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS" export FFLAGS="$CFLAGS"
cmake .. \ cmake .. \
@ -206,6 +206,9 @@ fi
%{_mandir}/man1/readmult.* %{_mandir}/man1/readmult.*
%changelog %changelog
* Thu Feb 12 2009 Roman Rakus <rrakus@redhat.com> - 1.1.9-2
- Use -fno-strict-aliasing to prevent strict_aliasing warnings/errors
* Mon Oct 27 2008 Roman Rakus <rrakus@redhat.com> - 1.1.9-1 * Mon Oct 27 2008 Roman Rakus <rrakus@redhat.com> - 1.1.9-1
- Bump to version 1.1.9 - Bump to version 1.1.9