From f385f02d0fff5624438daf7f680ae3461e556560 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 18 Jun 2014 10:40:54 -0400 Subject: [PATCH] add -O2 to CFLAGS --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index a3ac3396..f80acccf 100644 --- a/Makefile +++ b/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