summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-03-10 13:36:49 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-03-10 13:36:49 +0100
commitdcddca934c0d73c519c4709b6fbe3317d2a6e8a2 (patch)
tree924150a6d5d66c41e55da25d43247dd136f47c3e /configure
parent1d523ea89ab93eadd153983f3aefdcfcdede3c9a (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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