# HG changeset patch # User diego # Date 1239556050 0 # Node ID df0f3be3c12f9bcee8784f2744b9011d16e07d9e # Parent 33956c5f50057dda0f3a26b1950dcb6842e42771 Use extra_cflags variable instead of CFLAGS to add system-specific CFLAGS. Otherwise the CFLAGS warning gets triggered and necessary CFLAGS are not set. diff -r 33956c5f5005 -r df0f3be3c12f configure --- a/configure Sat Apr 11 13:51:02 2009 +0000 +++ b/configure Sun Apr 12 17:07:30 2009 +0000 @@ -1430,7 +1430,7 @@ fi if darwin; then - CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -shared-libgcc" + extra_cflags="-mdynamic-no-pic -falign-loops=16 -shared-libgcc $extra_cflags" _timer=timer-darwin.c fi @@ -1465,7 +1465,7 @@ _sighandler=no _stream_cache=no def_stream_cache="#undef CONFIG_STREAM_CACHE" - CFLAGS="$CFLAGS -DNEWLIB -D__USE_INLINE__" + extra_cflags="-DNEWLIB -D__USE_INLINE__ $extra_cflags" fi if qnx ; then