fsstress: add copy_file_range support
[xfstests-dev.git] / ltp / Makefile
index 5f784ecf6da4f68cb3db7832b8927573d74cca53..e4ca45f4881577d1568764b7d2e0b8be1c0cc976 100644 (file)
@@ -28,6 +28,10 @@ ifeq ($(HAVE_FALLOCATE), true)
 LCFLAGS += -DFALLOCATE
 endif
 
+ifeq ($(HAVE_COPY_FILE_RANGE),yes)
+LCFLAGS += -DHAVE_COPY_FILE_RANGE
+endif
+
 default: depend $(TARGETS)
 
 depend: .dep