diff --git a/Makefile b/Makefile index 7c84be3bc8d112aad993f8e7a86adc0405d95e03..0f5cdff7b9b6f03e80a320dcf64b52e7efd1f940 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CUR_DIR=$(shell pwd) iTrustee_SDK_PATH=${CUR_DIR} TARGET_APP := libteec_adaptor.so APP_SOURCES += $(iTrustee_SDK_PATH)/src/CA/cloud/libteec_adaptor.c -APP_CFLAGS += -fstack-protector-strong -fPIC +APP_CFLAGS += -fstack-protector-strong -fPIC -ftrapv -s -D_FORTIFY_SOURCE=2 -O2 APP_CFLAGS += -I$(iTrustee_SDK_PATH)/include/CA -I$(iTrustee_SDK_PATH)/thirdparty/open_source/libboundscheck/include APP_LDFLAGS += -z text -z now -z relro -z noexecstack -pie -shared