[FFmpeg-cvslog] Force -D__EXTENSIONS__ on Solaris.

Carl Eugen Hoyos git at videolan.org
Tue Mar 10 14:26:22 CET 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Mar 10 13:36:49 2015 +0100| [dcddca934c0d73c519c4709b6fbe3317d2a6e8a2] | committer: Carl Eugen Hoyos

Force -D__EXTENSIONS__ on Solaris.

This fixes compilation of libavformat/udp.o on some installations,
regression since 3a5cbc91
Reported by Cristian Dustinta for SunOS 5.10

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcddca934c0d73c519c4709b6fbe3317d2a6e8a2
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 787ecd7..384a6ad 100755
--- a/configure
+++ b/configure
@@ -4040,6 +4040,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-cvslog mailing list