aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index e9a003d..6641022 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@
CC ?= gcc
-CFLAGS = -Wall -flto
+CFLAGS = -Wall
DEBUG ?= 0
TEST ?= 0
FAST ?= 0
@@ -19,7 +19,7 @@ else ifeq ($(TEST), 1)
CFLAGS += -DNDEBUG --coverage -g -O0
else ifeq ($(FAST), 1)
ifeq ($(CC), gcc)
- CFLAGS += -DNDEBUG -O3 -march=native -mtune=native -pipe
+ CFLAGS += -DNDEBUG -O3 -march=native -mtune=native -pipe -flto
else
CFLAGS += -DNDEBUG -O3
endif