From cc6a2d699931fd352d83ebcc6be7bfb4cfd3fcd2 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 15 Mar 2024 18:20:03 +0400 Subject: [PATCH] Fix typo --- sgxvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgxvm/Makefile b/sgxvm/Makefile index 57254806..a1e5b17a 100644 --- a/sgxvm/Makefile +++ b/sgxvm/Makefile @@ -75,7 +75,7 @@ endef define compile_unsigned_enclave @echo "Compile into unsinged enclave" - @cxx $(CURDIR)/Enclave_t.o -o $(CURDIR)/enclave.unsigned.so -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/opt/intel/sgxsdk/lib64 \ + @$(CXX) $(CURDIR)/Enclave_t.o -o $(CURDIR)/enclave.unsigned.so -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/opt/intel/sgxsdk/lib64 \ -Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive \ -Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_dcap_tvl -l$(Service_Library_Name) -lsgx_tcrypto -lsgx_tprotected_fs -lpthread \ -L$(CURDIR)/sgx-artifacts/lib -lenclave -Wl,--end-group -Wl,--version-script=$(CURDIR)/Enclave.lds -Wl,-z,relro,-z,now,-z,noexecstack -Wl,-Bstatic -Wl,-Bsymbolic \