mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Add -O3 for host builds
This commit is contained in:
parent
dd5f90d50f
commit
d97c51d76e
@ -137,7 +137,11 @@ CFLAGS_WERROR ?= -Werror
|
||||
CFLAGS_WFATAL_ERRORS ?= -Wfatal-errors
|
||||
|
||||
# Optimizations
|
||||
CFLAGS_OPTIMIZE ?= -Os -flto
|
||||
ifeq ($(OPTION_MCU),disable)
|
||||
CFLAGS_OPTIMIZE ?= -O3 -flto
|
||||
else
|
||||
CFLAGS_OPTIMIZE ?= -Os -flto
|
||||
endif
|
||||
CFLAGS_NO_OPTIMIZE ?= -Og
|
||||
LDFLAGS_OPTIMIZE ?=
|
||||
LDFLAGS_NO_OPTIMIZE ?=
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user