Use -fno-strict-aliasing to prevent strict_aliasing warnings/errors
This commit is contained in:
parent
5104758709
commit
334f8684ef
@ -1,7 +1,7 @@
|
||||
Summary: A collection of CD/DVD utilities
|
||||
Name: cdrkit
|
||||
Version: 1.1.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
URL: http://cdrkit.org/
|
||||
@ -77,7 +77,7 @@ find doc -type f -print0 | xargs -0 chmod a-x
|
||||
%build
|
||||
mkdir 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 FFLAGS="$CFLAGS"
|
||||
cmake .. \
|
||||
@ -206,6 +206,9 @@ fi
|
||||
%{_mandir}/man1/readmult.*
|
||||
|
||||
%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
|
||||
- Bump to version 1.1.9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user