Browse Source

add -O2 to CFLAGS

pull/36/head 1.2.0
Antonio SJ Musumeci 11 years ago
parent
commit
f385f02d0f
  1. 2
      Makefile

2
Makefile

@ -53,12 +53,14 @@ ifeq ($(FUSE_AVAILABLE),0)
$(error "FUSE development package doesn't appear available") $(error "FUSE development package doesn't appear available")
endif endif
OPTS = -O2
SRC = $(wildcard src/*.cpp) SRC = $(wildcard src/*.cpp)
OBJ = $(SRC:src/%.cpp=obj/%.o) OBJ = $(SRC:src/%.cpp=obj/%.o)
DEPS = $(OBJ:obj/%.o=obj/%.d) DEPS = $(OBJ:obj/%.o=obj/%.d)
TARGET = mergerfs TARGET = mergerfs
MANPAGE = $(TARGET).1 MANPAGE = $(TARGET).1
CFLAGS = -g -Wall \ CFLAGS = -g -Wall \
$(OPTS) \
$(shell $(PKGCONFIG) fuse --cflags) \ $(shell $(PKGCONFIG) fuse --cflags) \
-DFUSE_USE_VERSION=26 \ -DFUSE_USE_VERSION=26 \
-MMD -MMD

Loading…
Cancel
Save