summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-18 20:10:26 (GMT)
committerBrad King <brad.king@kitware.com>2023-08-18 20:13:21 (GMT)
commiteee1dc10bea6d2528a08c4e844d96b1f45cfe2ff (patch)
tree2c24cb9c3d06560176cccd694ce39e212d235d07 /bootstrap
parentd6b4f6dd97e679a34aedda57cb3768842c74bcef (diff)
downloadCMake-eee1dc10bea6d2528a08c4e844d96b1f45cfe2ff.zip
CMake-eee1dc10bea6d2528a08c4e844d96b1f45cfe2ff.tar.gz
CMake-eee1dc10bea6d2528a08c4e844d96b1f45cfe2ff.tar.bz2
libuv: Compile as C11 on all Solaris versions
Using `_XOPEN_SOURCE=600` on Solaris 5.10, as we do on Solaris 5.11+ already, allows the system headers to be included in C99 and C11 modes.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 0 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 39c28bb..0e6b684 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1762,8 +1762,6 @@ else
libs="${libs} -lkvm"
;;
*SunOS*)
- # Normally libuv uses '-D_XOPEN_SOURCE=500 -std=c90' on Solaris 5.10,
- # but we do not need to do that because we bootstrap using POSIX APIs.
uv_c_flags="${uv_c_flags} -D__EXTENSIONS__ -D_XOPEN_SOURCE=600"
libs="${libs} -lkstat -lnsl -lsendfile -lsocket -lrt"
;;