Mercurial > mplayer.hg
changeset 35930:9f25b60fa81b
configure: Do not unconditionally set all host CPPFLAGS.
author | diego |
---|---|
date | Wed, 20 Mar 2013 12:18:54 +0000 |
parents | 39e518664273 |
children | dd2264983633 |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Mar 20 12:18:51 2013 +0000 +++ b/configure Wed Mar 20 12:18:54 2013 +0000 @@ -2721,9 +2721,11 @@ 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 @@ 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 \$@