From eb24f2cdaf082f7ccfaa54cf1085a0fa1bc30b6a Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Fri, 16 Oct 2020 13:08:10 +0800 Subject: [PATCH] coremark: use O3 optimization --- package/lean/coremark/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/lean/coremark/Makefile b/package/lean/coremark/Makefile index 714c080608..7efb2ee003 100644 --- a/package/lean/coremark/Makefile +++ b/package/lean/coremark/Makefile @@ -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)