@@ -179,7 +179,7 @@ def copy_txt_files(local_path):
print ("Error !!!: src file not exist {}".format(src))
else:
print ("Error !!!: src folder not exist {}".format(src))
- exit(1)
+ #exit(1)
if __name__ == "__main__":
@@ -231,8 +231,8 @@ ptrace:
$(MAKE) -C debugger_interface/linux/
.PHONY: sample_crypto
-sample_crypto:
- $(MAKE) -C sample_libcrypto
+#sample_crypto:
+# $(MAKE) -C sample_libcrypto
# ---------------------------------------------------
# standalone, untrusted libraries
@@ -35,6 +35,9 @@ CPPFLAGS := -I$(COMMON_DIR)/inc/internal \
-I$(COMMON_DIR)/inc \
-I$(COMMON_DIR)/inc/tlibc
+ENCLAVE_CFLAGS = -ffreestanding -nostdinc -fpie
+ENCLAVE_CXXFLAGS = $(ENCLAVE_CFLAGS) -nostdinc++
+
CXXFLAGS += $(ENCLAVE_CXXFLAGS) -Werror -fno-exceptions -fno-rtti
OBJ = init_tcrypto_lib.o sgx_aes_ctr.o sgx_rsa_encryption.o sgx_aes_gcm.o sgx_cmac128.o sgx_ecc256.o sgx_ecc256_ecdsa.o sgx_sha256.o sgx_sha256_msg.o sgx_ecc256_internal.o sgx_rsa3072.o