|
@ -61,9 +61,10 @@ SRC = $(wildcard src/*.cpp) |
|
|
OBJS = $(SRC:src/%.cpp=build/%.o) |
|
|
OBJS = $(SRC:src/%.cpp=build/%.o) |
|
|
DEPS = $(SRC:src/%.cpp=build/%.d) |
|
|
DEPS = $(SRC:src/%.cpp=build/%.d) |
|
|
MANPAGE = mergerfs.1 |
|
|
MANPAGE = mergerfs.1 |
|
|
CXXFLAGS = \
|
|
|
|
|
|
|
|
|
CXXFLAGS ?= ${OPT_FLAGS} |
|
|
|
|
|
CXXFLAGS := \
|
|
|
|
|
|
${CXXFLAGS} \
|
|
|
-std=c++0x \
|
|
|
-std=c++0x \
|
|
|
$(OPT_FLAGS) \
|
|
|
|
|
|
$(STATIC_FLAGS) \
|
|
|
$(STATIC_FLAGS) \
|
|
|
$(LTO_FLAGS) \
|
|
|
$(LTO_FLAGS) \
|
|
|
-Wall \
|
|
|
-Wall \
|
|
@ -76,7 +77,9 @@ FUSE_FLAGS = \ |
|
|
MFS_FLAGS = \
|
|
|
MFS_FLAGS = \
|
|
|
-DUSE_XATTR=$(USE_XATTR) \
|
|
|
-DUSE_XATTR=$(USE_XATTR) \
|
|
|
-DUGID_USE_RWLOCK=$(UGID_USE_RWLOCK) |
|
|
-DUGID_USE_RWLOCK=$(UGID_USE_RWLOCK) |
|
|
LDFLAGS = \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LDFLAGS := \
|
|
|
|
|
|
${LDFLAGS} \
|
|
|
-pthread \
|
|
|
-pthread \
|
|
|
-lrt |
|
|
-lrt |
|
|
|
|
|
|
|
|