From a8112fc5c3a7b28bedd86d34c068e329b34300e1 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 4 Nov 2018 19:45:04 -0500 Subject: [PATCH] use -O3 instead of -O2 primarily for more inlining --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c6298fb..cca5b9c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ $(shell $(CC) -E $1 - /dev/null 2>&1 && echo $1) endef CPPFLAGS := -D_GNU_SOURCE -SHARED_FLAGS := -O2 -flto -fPIC -fvisibility=hidden -fno-plt -pipe -Wall -Wextra $(call safe_flag,-Wcast-align=strict) -Wcast-qual -Wwrite-strings +SHARED_FLAGS := -O3 -flto -fPIC -fvisibility=hidden -fno-plt -pipe -Wall -Wextra $(call safe_flag,-Wcast-align=strict) -Wcast-qual -Wwrite-strings ifeq ($(CONFIG_NATIVE),true) SHARED_FLAGS += -march=native