Avoid 'test/md5.c:126:3: warning: dereferencing type-punned pointer
will break strict-aliasing rules' by adding -fno-strict-aliasing flag.
This commit is contained in:
parent
5ddcdb543d
commit
7596ac4724
@ -1,6 +1,6 @@
|
||||
Name: libmspack
|
||||
Version: 0.5
|
||||
Release: 0.2.alpha%{?dist}
|
||||
Release: 0.4.alpha%{?dist}
|
||||
Summary: Library for CAB and related files compression and decompression
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -34,6 +34,7 @@ chmod a-x mspack/mspack.h
|
||||
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" \
|
||||
%configure --disable-static --disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -70,6 +71,10 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 30 2015 Richard W.M. Jones <rjones@redhat.com> - 0.5-0.4.alpha
|
||||
- Avoid 'test/md5.c:126:3: warning: dereferencing type-punned pointer
|
||||
will break strict-aliasing rules' by adding -fno-strict-aliasing flag.
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.2.alpha
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user