Skip to content
Snippets Groups Projects
Commit 779222db authored by Sean McGovern's avatar Sean McGovern Committed by Diego Biurrun
Browse files

configure: Add _XOPEN_SOURCE=600 to Solaris preprocessor flags.


This is needed to expose some networking APIs.

Signed-off-by: default avatarDiego Biurrun <diego@biurrun.de>
parent 8ae19143
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment