diff options
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2018-02-19 00:36:11 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2018-02-19 00:36:11 +0100 |
commit | c7e0264a71d3101cf660a9da354a33792914fd76 (patch) | |
tree | ee6440187db3dd2747f73e4f6eaa5e05b7c96599 /Makefile | |
parent | 39c5a5e929efc7c3b89a4e316dfd02b1734848d6 (diff) |
Makefile: Support NO_XATTR variable.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |