comparison configure.in @ 3604:e569bbb266eb

Fixed bug #915 GNU-isms should be avoided wherever possible for portability, please avoid the use of GNU-isms in your code, this may be problematic when using this library in projects which use non-GNU-compliant compilers.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 30 Dec 2009 19:38:08 +0000
parents b6758aee0dd4
children dcc88e97091d
comparison
equal deleted inserted replaced
3603:847549156244 3604:e569bbb266eb
77 # We build SDL on cygwin without the UNIX emulation layer 77 # We build SDL on cygwin without the UNIX emulation layer
78 BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin" 78 BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin"
79 BASE_LDFLAGS="-mno-cygwin" 79 BASE_LDFLAGS="-mno-cygwin"
80 ;; 80 ;;
81 *) 81 *)
82 BASE_CFLAGS="-D_GNU_SOURCE=1" 82 BASE_CFLAGS=""
83 BASE_LDFLAGS="" 83 BASE_LDFLAGS=""
84 ;; 84 ;;
85 esac 85 esac
86 BUILD_CFLAGS="$CFLAGS $CPPFLAGS" 86 BUILD_CFLAGS="$CFLAGS $CPPFLAGS"
87 # The default optimization for SDL 1.3 is -O3 (Bug #31) 87 # The default optimization for SDL 1.3 is -O3 (Bug #31)