From a5eaafc1798c32361c72e1e672c905376e6bf7db Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 12 Apr 2009 17:07:30 +0000 Subject: Use extra_cflags variable instead of CFLAGS to add system-specific CFLAGS. Otherwise the CFLAGS warning gets triggered and necessary CFLAGS are not set. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29171 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 5cdff8855d..fa09962c77 100755 --- a/configure +++ b/configure @@ -1430,7 +1430,7 @@ if netbsd || dragonfly ; then 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 @@ if amigaos ; then _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 -- cgit v1.2.3