summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRadek Podgorny <radek@podgorny.cz>2014-02-22 17:42:57 +0100
committerRadek Podgorny <radek@podgorny.cz>2014-02-22 17:42:57 +0100
commitcae1ebbf6a5260d29d500f8dd083402e960b546b (patch)
tree6586e685161191c7615ea494b03333f2687dc6c0 /src
parentd5deafd1b4cce6d7fd71b43244c8c0aadce8a7c8 (diff)
downloadunionfs-fuse-cae1ebbf6a5260d29d500f8dd083402e960b546b.tar.gz
Fix cmake HAVE_XATTR redefinition
(from bernd's tree)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f153708..f2782d5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,6 +2,9 @@ CFLAGS += -Wall
CPPFLAGS += $(shell pkg-config --cflags fuse)
CPPFLAGS += -DFUSE_USE_VERSION=26
+CPPFLAGS += -DLIBC_XATTR # glibc nowadays includes xattr
+# CPPFLAGS += -DLIBATTR_XATTR # define this to libattr xattr include
+
# CPPFLAGS += -DDISABLE_XATTR # disable xattr support
# CPPFLAGS += -DDISABLE_AT # disable *at function support