From dcddca934c0d73c519c4709b6fbe3317d2a6e8a2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 10 Mar 2015 13:36:49 +0100 Subject: 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 --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 787ecd77d2..384a6ad945 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 -- cgit v1.2.3