mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-16 23:12:46 +08:00
add -O2 to CFLAGS
This commit is contained in:
parent
0e12d79659
commit
f385f02d0f
2
Makefile
2
Makefile
|
@ -53,12 +53,14 @@ ifeq ($(FUSE_AVAILABLE),0)
|
|||
$(error "FUSE development package doesn't appear available")
|
||||
endif
|
||||
|
||||
OPTS = -O2
|
||||
SRC = $(wildcard src/*.cpp)
|
||||
OBJ = $(SRC:src/%.cpp=obj/%.o)
|
||||
DEPS = $(OBJ:obj/%.o=obj/%.d)
|
||||
TARGET = mergerfs
|
||||
MANPAGE = $(TARGET).1
|
||||
CFLAGS = -g -Wall \
|
||||
$(OPTS) \
|
||||
$(shell $(PKGCONFIG) fuse --cflags) \
|
||||
-DFUSE_USE_VERSION=26 \
|
||||
-MMD
|
||||
|
|
Loading…
Reference in New Issue
Block a user