Mercurial > mplayer.hg
comparison configure @ 35932:f4040eda9fcb
configure: Explain that certain CPPFLAGS are added for glibc compatibility.
author | diego |
---|---|
date | Wed, 20 Mar 2013 22:18:03 +0000 |
parents | 9f25b60fa81b |
children | a24e13d192e7 |
comparison
equal
deleted
inserted
replaced
35931:dd2264983633 | 35932:f4040eda9fcb |
---|---|
2721 fi | 2721 fi |
2722 | 2722 |
2723 CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS" | 2723 CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS" |
2724 HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3" | 2724 HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3" |
2725 | 2725 |
2726 # On glibc, add some more CPPFLAGS for enabling required functionality. | |
2726 cpp_condition_check features.h "defined __GLIBC__" && | 2727 cpp_condition_check features.h "defined __GLIBC__" && |
2727 CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS" && | 2728 CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS" && |
2728 HOSTCFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $HOSTCFLAGS" && | 2729 HOSTCFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $HOSTCFLAGS" && |
2729 | 2730 |
2730 if test "$cc_vendor" = "gnu" ; then | 2731 if test "$cc_vendor" = "gnu" ; then |