View | Details | Raw Unified | Return to bug 42
Collapse All | Expand All

(-)a/Makefile (-2 / +1 lines)
Lines 101-107 ifeq ($(shell :|$(CC) -fstack-protector-strong -S -xc - -o - >/dev/null 2>&1; ec Link Here
101
	FLAGS += -fstack-protector-strong
101
	FLAGS += -fstack-protector-strong
102
endif
102
endif
103
103
104
C := \#define _GNU_SOURCE\n\#include <fcntl.h>\nx = FALLOC_FL_COLLAPSE_RANGE;
104
C := \#define _GNU_SOURCE\n\#include <fcntl.h>\nint x = FALLOC_FL_COLLAPSE_RANGE;
105
ifeq ($(shell printf "$(C)" | $(CC) -S -xc - -o - >/dev/null 2>&1; echo $$?),0)
105
ifeq ($(shell printf "$(C)" | $(CC) -S -xc - -o - >/dev/null 2>&1; echo $$?),0)
106
	EXTRA_SYSCALLS += fallocate
106
	EXTRA_SYSCALLS += fallocate
107
endif
107
endif
108
- 

Return to bug 42