filename | configure.in |
changeset | 791:fc609d426806 |
prev | 778:a34b180d92f7 |
next | 793:7877d947228d |
author | nkeynes |
date | Wed Jul 30 02:17:18 2008 +0000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Add -fno-strict-aliasing when compiling with gcc (otherwise code is slightly buggy) |
file | annotate | diff | log | raw |
1.1 --- a/configure.in Mon Jul 28 06:39:00 2008 +00001.2 +++ b/configure.in Wed Jul 30 02:17:18 2008 +00001.3 @@ -47,6 +47,12 @@1.4 AC_ARG_WITH( pulse,1.5 AS_HELP_STRING( [--with-pulse], [Build with support for the PulseAudio audio system]) )1.7 +dnl ------------1.8 +1.9 +if test "x$GCC" = "xyes"; then1.10 + CFLAGS="$CFLAGS -fno-strict-aliasing"1.11 +fi1.12 +1.13 dnl ------------ Check if we're building on Darwin --------------1.15 dnl For starters, do we have a working objective-c compiler?
.