coremark: use O3 optimization

This commit is contained in:
CN_SZTL 2020-10-16 13:08:10 +08:00
parent 2a022f52b4
commit eb24f2cdaf
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -43,6 +43,8 @@ else ifeq ($(CONFIG_64BIT),y)
DIR_ARCH:=linux64
endif
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3 -flto
define Build/Compile
$(SED) 's|EXE = .exe|EXE =|' $(PKG_BUILD_DIR)/$(DIR_ARCH)/core_portme.mak
mkdir $(PKG_BUILD_DIR)/$(ARCH)