mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-29 17:36:13 -05:00
use -O3 instead of -O2 primarily for more inlining
This commit is contained in:
parent
ca465f6b3e
commit
a8112fc5c3
2
Makefile
2
Makefile
@ -12,7 +12,7 @@ $(shell $(CC) -E $1 - </dev/null >/dev/null 2>&1 && echo $1)
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CPPFLAGS := -D_GNU_SOURCE
|
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)
|
ifeq ($(CONFIG_NATIVE),true)
|
||||||
SHARED_FLAGS += -march=native
|
SHARED_FLAGS += -march=native
|
||||||
|
Loading…
Reference in New Issue
Block a user