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
This commit is contained in:
diego 2009-04-12 17:07:30 +00:00
parent 4567425051
commit a5eaafc179
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -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