From f17ee27e4facb0c6cf80bf6637790e4d8caeb634 Mon Sep 17 00:00:00 2001 From: zhanglinhao Date: Wed, 23 Feb 2022 14:49:32 +0800 Subject: [PATCH] fix bug for API_LEVEL --- build/mk/cloud/common.mk | 2 +- test/TA/helloworld/cloud/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/mk/cloud/common.mk b/build/mk/cloud/common.mk index 9a37b9b..73fdd5b 100755 --- a/build/mk/cloud/common.mk +++ b/build/mk/cloud/common.mk @@ -6,7 +6,7 @@ LIBC=$(iTrustee_SDK_PATH)/thirdparty/open_source/musl LIBSECURE=$(iTrustee_SDK_PATH)/thirdparty/open_source/libboundscheck/ # set compile parameters -CFLAGS := -O -W -Wall +CFLAGS += -O -W -Wall CFLAGS += -Werror CFLAGS += -fno-short-enums CFLAGS += -fno-omit-frame-pointer diff --git a/test/TA/helloworld/cloud/Makefile b/test/TA/helloworld/cloud/Makefile index 108fda6..63b2fa5 100755 --- a/test/TA/helloworld/cloud/Makefile +++ b/test/TA/helloworld/cloud/Makefile @@ -12,6 +12,7 @@ COBJS := $(SRC:%.c=%.o) TARGET = $(COBJS) sec_binary:combine + cp ../config.mk ./ cp ../manifest.txt ./ python3 -B ${SIGNTOOL_DIR}/signtool_v3.py ${CUR_DIR} ${CUR_DIR} --config ${SIGNTOOL_DIR}/cloud/config_cloud.ini -- Gitee