diff options
-rw-r--r-- | src/make.code.defn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index 240ca2c..6326bab 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -5,7 +5,7 @@ SRCS = Startup.c DumpUtils.c DumpVar.c RecoverVar.c # Extend CFLAGS if HDF5 library was built with LFS support -LFS_support := $(shell grep _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings) +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 |