Skip to content

Commit

Permalink
build fix WIP(3)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed Apr 2, 2024
1 parent 58cfcbf commit 6dce024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cosmwasm/enclaves/execute/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ RustEnclave_Link_Libs := -L$(CUSTOM_LIBRARY_PATH) -lenclave
RustEnclave_Compile_Flags := $(SGX_COMMON_CFLAGS) $(ENCLAVE_CFLAGS) $(RustEnclave_Include_Paths)
RustEnclave_Link_Flags := -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L$(SGX_LIBRARY_PATH) \
-Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive \
-Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_dcap_tvl -lsgx_uae_service -lsgx_dcap_ql -lsgx_dcap_quoteverify \
-l$(Crypto_Library_Name) -l$(Service_Library_Name) -l$(ProtectedFs_Library_Name) $(RustEnclave_Link_Libs) -Wl,--end-group \
-Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_dcap_tvl -l$(Crypto_Library_Name) -l$(Service_Library_Name) -l$(ProtectedFs_Library_Name) $(RustEnclave_Link_Libs) -Wl,--end-group \
-Wl,--version-script=Enclave.lds -lsgx_pthread \
$(ENCLAVE_LDFLAGS)

Expand Down
2 changes: 1 addition & 1 deletion go-cosmwasm/api/link_std.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

package api

// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lgo_cosmwasm
// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lgo_cosmwasm -lsgx_uae_service -lsgx_dcap_ql -lsgx_dcap_quoteverify
import "C"

0 comments on commit 6dce024

Please sign in to comment.