aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2012-05-09 02:13:15 -0400
committerDiego Biurrun <diego@biurrun.de>2012-05-10 00:01:44 +0200
commit779222dbfe19ebe731dcdff460e1b1807b9285a7 (patch)
treecea678d91a7acc98e9e9cb20a8ac4c30eafe9d12 /configure
parent8ae19143277e8c740e1cdeb280cfdf4c47a3eb23 (diff)
downloadffmpeg-779222dbfe19ebe731dcdff460e1b1807b9285a7.tar.gz
configure: Add _XOPEN_SOURCE=600 to Solaris preprocessor flags.
This is needed to expose some networking APIs. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4b1e55169f..79b948e4f3 100755
--- a/configure
+++ b/configure
@@ -2452,7 +2452,7 @@ case $target_os in
SHFLAGS='-shared -Wl,-h,$$(@F)'
enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
network_extralibs="-lsocket -lnsl"
- add_cppflags -D__EXTENSIONS__
+ add_cppflags -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