diff --git a/build/mk/cloud/common.mk b/build/mk/cloud/common.mk index 9a37b9b6dcf8b281716d73f30d46593c1c62227e..73fdd5b9f1256eb7899be2b0fc0d44b90901429d 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 108fda6413e3eef1bcb80487db6e19893e3969b2..63b2fa5c0f6857e45e79dc9615d1737b3ff708cd 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