Mercurial > mplayer.hg
changeset 35932:f4040eda9fcb
configure: Explain that certain CPPFLAGS are added for glibc compatibility.
author | diego |
---|---|
date | Wed, 20 Mar 2013 22:18:03 +0000 |
parents | dd2264983633 |
children | de49b61ded49 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Mar 20 17:33:42 2013 +0000 +++ b/configure Wed Mar 20 22:18:03 2013 +0000 @@ -2723,6 +2723,7 @@ CFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg $CFLAGS" HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -O3" +# On glibc, add some more CPPFLAGS for enabling required functionality. cpp_condition_check features.h "defined __GLIBC__" && CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS" && HOSTCFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $HOSTCFLAGS" &&