Skip to content

Commit

Permalink
Change the way SGXSDK_INT_VERSION compared in Makefile.
Browse files Browse the repository at this point in the history
This change will remove the "-ge" error from build log.
  • Loading branch information
akryeem-INTC committed Feb 15, 2018
1 parent 8be026c commit 464fdf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Linux/sgx/test_app/sgx_t.mk
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ SGXSSL_Library_Name := sgx_tsgxssl
OpenSSL_Crypto_Library_Name := sgx_tsgxssl_crypto
TSETJMP_LIB := -lsgx_tsetjmp

$(if $(shell [ $(SGXSDK_INT_VERSION) -ge 20 ] && echo "OK"), \
$(eval TSETJMP_LIB := ))
ifeq "20" "$(word 1, $(sort 20 $(SGXSDK_INT_VERSION)))"
TSETJMP_LIB:=
endif

ifdef DEBUG
SGX_COMMON_CFLAGS += -O0 -g
Expand Down

0 comments on commit 464fdf2

Please sign in to comment.