Our test tools now require SUSv3 semantics for freopen(),
which is only properly enabled on Solaris when _XOPEN_SOURCE >= 600
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 67371c8..a0deffe 100755
--- a/configure
+++ b/configure
@@ -2395,6 +2395,7 @@ case $target_os in
         enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
         network_extralibs="-lsocket -lnsl"
         add_cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+        enabled cross_compile || check_host_cflags -D__EXTENSIONS__ 
-D_XOPEN_SOURCE=600
         # When using suncc to build, the Solaris linker will mark
         # an executable with each instruction set encountered by
         # the Solaris assembler.  As our libraries contain their own
-- 
1.7.8.5

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to