[FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Feb 26 17:23:52 CET 2015
Hi!
A user reported that the Solaris libc detection has never worked on all
installations. Attached patch forces the definition of __EXTENSIONS__
which is needed for network compilation.
This fixes the following error:
libavformat/udp.c:174: error: storage size of 'mreq' isn't known
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 1d14d0a..fcd065b 100755
--- a/configure
+++ b/configure
@@ -4027,6 +4027,7 @@ case $target_os in
SHFLAGS='-shared -Wl,-h,$$(@F)'
enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
network_extralibs="-lsocket -lnsl"
+ add_cppflags -D__EXTENSIONS__
# 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
More information about the ffmpeg-devel
mailing list