[MPlayer-cvslog] r36024 - trunk/configure

diego subversion at mplayerhq.hu
Wed Mar 20 13:18:54 CET 2013


Author: diego
Date: Wed Mar 20 13:18:54 2013
New Revision: 36024

Log:
configure: Do not unconditionally set all host CPPFLAGS.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Mar 20 13:18:51 2013	(r36023)
+++ trunk/configure	Wed Mar 20 13:18:54 2013	(r36024)
@@ -2721,9 +2721,11 @@ else
 fi
 
 CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS"
+HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3"
 
 cpp_condition_check features.h "defined __GLIBC__" &&
-  CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS"
+  CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS" &&
+  HOSTCFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $HOSTCFLAGS" &&
 
 if test "$cc_vendor" = "gnu" ; then
   cflag_check -fno-tree-vectorize && CFLAGS="$CFLAGS -fno-tree-vectorize"
@@ -8502,7 +8504,7 @@ CONFIG_SWRESAMPLE = $ffmpeg_a
 ASFLAGS    = \$(CFLAGS)
 AS_DEPFLAGS= $DEPFLAGS
 HOSTCC     = \$(HOST_CC)
-HOSTCFLAGS = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I. -Iffmpeg -O3
+HOSTCFLAGS = $HOSTCFLAGS
 HOSTLIBS   = -lm
 AS_O       = -o \$@
 CC_O       = -o \$@


More information about the MPlayer-cvslog mailing list