Add -fwrapv to dodge gcc 4.1's latest creative reinterpretation of basic C
semantics.
This commit is contained in:
parent
cae1c674f9
commit
4985366e25
@ -107,8 +107,9 @@ autoheader
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
||||||
# MySQL 4.1.10 definitely doesn't work under strict aliasing
|
# MySQL 4.1.10 definitely doesn't work under strict aliasing; also,
|
||||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
# gcc 4.1 breaks MySQL 5.0.16 without -fwrapv
|
||||||
|
CFLAGS="$CFLAGS -fno-strict-aliasing -fwrapv"
|
||||||
%ifarch alpha
|
%ifarch alpha
|
||||||
# Can't link C++ objects into an executable without this. Odd!
|
# Can't link C++ objects into an executable without this. Odd!
|
||||||
# -ECL 2002-12-19
|
# -ECL 2002-12-19
|
||||||
@ -377,11 +378,12 @@ fi
|
|||||||
%{_datadir}/sql-bench
|
%{_datadir}/sql-bench
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 9 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
|
* Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
|
||||||
- Update to MySQL 5.0.16
|
- Update to MySQL 5.0.16
|
||||||
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
|
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
|
||||||
- Make my_config.h architecture-independent for multilib installs;
|
- Make my_config.h architecture-independent for multilib installs;
|
||||||
put the original my_config.h into my_config_$ARCH.h
|
put the original my_config.h into my_config_$ARCH.h
|
||||||
|
- Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it
|
||||||
|
|
||||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
Loading…
Reference in New Issue
Block a user