[MPlayer-cvslog] r29171 - trunk/configure

diego subversion at mplayerhq.hu
Sun Apr 12 19:07:31 CEST 2009


Author: diego
Date: Sun Apr 12 19:07:30 2009
New Revision: 29171

Log:
Use extra_cflags variable instead of CFLAGS to add system-specific CFLAGS.
Otherwise the CFLAGS warning gets triggered and necessary CFLAGS are not set.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Apr 11 15:51:02 2009	(r29170)
+++ trunk/configure	Sun Apr 12 19:07:30 2009	(r29171)
@@ -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


More information about the MPlayer-cvslog mailing list