diff options
author | Brad King <brad.king@kitware.com> | 2023-08-18 20:10:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-18 20:13:21 (GMT) |
commit | eee1dc10bea6d2528a08c4e844d96b1f45cfe2ff (patch) | |
tree | 2c24cb9c3d06560176cccd694ce39e212d235d07 /bootstrap | |
parent | d6b4f6dd97e679a34aedda57cb3768842c74bcef (diff) | |
download | CMake-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-x | bootstrap | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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" ;; |