diff options
Diffstat (limited to 'src/make.configuration.deps')
-rw-r--r-- | src/make.configuration.deps | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps index 9fc3215..ce5e922 100644 --- a/src/make.configuration.deps +++ b/src/make.configuration.deps @@ -1,8 +1,6 @@ # Extend CFLAGS if HDF5 library was built with LFS support -LFS_support := $(shell grep -s _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings) - -ifneq ($(strip $(LFS_support)),) - CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifneq ($(strip $(HDF5_LFS_FLAGS)),) + CFLAGS += $(HDF5_LFS_FLAGS) endif # general linking rule |