summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-01 16:46:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-01 16:46:26 (GMT)
commit196193c18d43d71b6dd8a0727fc59b91c8299341 (patch)
tree2d215f2a4155cbdb8e141013bc58e26094b120d3 /config/cmake_ext_mod
parentabd38c0b85b7436c455ed986361a0b3cc939d68a (diff)
downloadhdf5-196193c18d43d71b6dd8a0727fc59b91c8299341.zip
hdf5-196193c18d43d71b6dd8a0727fc59b91c8299341.tar.gz
hdf5-196193c18d43d71b6dd8a0727fc59b91c8299341.tar.bz2
Correct extra flags
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake
index 33d4d6e..93b977e 100644
--- a/config/cmake_ext_mod/ConfigureChecks.cmake
+++ b/config/cmake_ext_mod/ConfigureChecks.cmake
@@ -274,11 +274,11 @@ if (MINGW OR NOT WINDOWS)
# systems.
# POSIX feature information can be found in the gcc manual at:
# http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
- set (HDF_EXTRA_C_FLAGS -D_POSIX_C_SOURCE=200112L)
+ set (HDF_EXTRA_C_FLAGS -D_POSIX_C_SOURCE=200809L)
# Need to add this so that O_DIRECT is visible for the direct
# VFD on Linux systems.
- set (HDF_EXTRA_C_FLAGS -D_GNU_SOURCE)
+ set (HDF_EXTRA_C_FLAGS ${HDF_EXTRA_C_FLAGS} -D_GNU_SOURCE)
option (HDF_ENABLE_LARGE_FILE "Enable support for large (64-bit) files on Linux." ON)
if (HDF_ENABLE_LARGE_FILE AND NOT DEFINED TEST_LFS_WORKS_RUN)