summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--NEWS1
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dfbacac..364825c 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,12 @@ endif
endif
endif
+ifneq (,$(NO_XATTR))
+ifneq (0,$(NO_XATTR))
+ADDITIONAL_FLAGS += -DNO_XATTR
+endif
+endif
+
PVER := $(PROJ_DIR)Makefile.ver
SDEP := Makefile.dep
@@ -90,6 +96,7 @@ MUSTHAVE_FLAGS := \
-D_FILE_OFFSET_BITS=64 \
-Wall -Wextra -pedantic \
-g \
+ $(ADDITIONAL_FLAGS) \
MUSTHAVE_CFLAGS := -std=c99
MUSTHAVE_CXXFLAGS := -std=c++11
diff --git a/NEWS b/NEWS
index f8a38a8..dbb060e 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ Latest stuff
* Support building with no extended attributes support when NO_XATTR
macro is predefined to non-0 value (e.g. put -DNO_XATTR in CFLAGS).
+ You can achieve it by passing NO_XATTR=1 to make invocation.
v1.1.2 (2018-01-06)