]> arthur.barton.de Git - bup.git/blobdiff - Makefile
Add support for "restore --sparse"
[bup.git] / Makefile
index 97f93385bcdcf37a2fd82c77a9256c6f1bf20f4a..e522355cf21ba7418ed789149b24a7c0aee43699 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 OS:=$(shell uname | sed 's/[-_].*//')
 CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
+CFLAGS := -D_FILE_OFFSET_BITS=64 $(CFLAGS)
 SOEXT:=.so
 
 ifeq ($(OS),CYGWIN)
@@ -101,6 +102,7 @@ runtests-cmdline: all
        TMPDIR="$(test_tmp)" t/test-restore-map-owner.sh
        TMPDIR="$(test_tmp)" t/test-restore-single-file.sh
        TMPDIR="$(test_tmp)" t/test-rm-between-index-and-save.sh
+       TMPDIR="$(test_tmp)" t/test-sparse-files.sh
        TMPDIR="$(test_tmp)" t/test-command-without-init-fails.sh
        TMPDIR="$(test_tmp)" t/test-redundant-saves.sh
        TMPDIR="$(test_tmp)" t/test-save-creates-no-unrefs.sh