revision 791:fc609d426806
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 791:fc609d426806 |
parent | 790:a0c7d28bbb0c |
child | 792:1183b763592e |
author | nkeynes |
date | Wed Jul 30 02:17:18 2008 +0000 (15 years ago) |
Add -fno-strict-aliasing when compiling with gcc (otherwise code is slightly buggy)
1.1 --- a/configure Wed Jul 30 00:11:32 2008 +00001.2 +++ b/configure Wed Jul 30 02:17:18 2008 +00001.3 @@ -6621,6 +6621,11 @@1.7 +if test "x$GCC" = "xyes"; then1.8 + CFLAGS="$CFLAGS -fno-strict-aliasing"1.9 +fi1.10 +1.11 +1.12 lxdream_save_cppflags="$CPPFLAGS"1.13 CPPFLAGS="$CPPFLAGS -x objective-c"1.14 cat >conftest.$ac_ext <<_ACEOF
2.1 --- a/configure.in Wed Jul 30 00:11:32 2008 +00002.2 +++ b/configure.in Wed Jul 30 02:17:18 2008 +00002.3 @@ -47,6 +47,12 @@2.4 AC_ARG_WITH( pulse,2.5 AS_HELP_STRING( [--with-pulse], [Build with support for the PulseAudio audio system]) )2.7 +dnl ------------2.8 +2.9 +if test "x$GCC" = "xyes"; then2.10 + CFLAGS="$CFLAGS -fno-strict-aliasing"2.11 +fi2.12 +2.13 dnl ------------ Check if we're building on Darwin --------------2.15 dnl For starters, do we have a working objective-c compiler?
.