xdd`quitiFi

parent 92cd3fd0
......@@ -233,8 +233,8 @@ AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AUTOCONF = ${SHELL} /d/sgxd/missing autoconf
AUTOHEADER = ${SHELL} /d/sgxd/missing autoheader
AUTOMAKE =
AWK = gawk
AUTOMAKE = ${SHELL} /d/sgxd/missing automake-1.15
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
......@@ -251,8 +251,8 @@ ECHO_N = -n
ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT =
GMP_CPPFLAGS = -I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include
GMP_LDFLAGS = -L/d/sgxd/gmp-build/lib
GMP_CPPFLAGS =
GMP_LDFLAGS =
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
......@@ -297,8 +297,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash
STRIP =
TGMP_CPPFLAGS = -I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include
TGMP_LDFLAGS = -L/d/sgxd/tgmp-build/lib
TGMP_CPPFLAGS =
TGMP_LDFLAGS =
VERSION = 1.0
abs_builddir = /d/sgxd
abs_srcdir = /d/sgxd
......
......@@ -10,11 +10,11 @@ generated by GNU Autoconf 2.69. Invocation command line was
## Platform. ##
## --------- ##
hostname = kladko
hostname = skale-Lenovo-ideapad-520-15IKB
uname -m = x86_64
uname -r = 4.18.0-25-generic
uname -r = 4.15.0-58-generic
uname -s = Linux
uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019
uname -v = #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
......@@ -27,7 +27,8 @@ uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/kladko/.local/bin
PATH: /home/skale/bin
PATH: /home/skale/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
......@@ -50,8 +51,10 @@ configure:2132: result: yes
configure:2283: checking for a thread-safe mkdir -p
configure:2322: result: /bin/mkdir -p
configure:2329: checking for gawk
configure:2345: found /usr/bin/gawk
configure:2356: result: gawk
configure:2359: result: no
configure:2329: checking for mawk
configure:2345: found /usr/bin/mawk
configure:2356: result: mawk
configure:2367: checking whether make sets $(MAKE)
configure:2389: result: yes
configure:2418: checking whether make supports nested variables
......@@ -61,8 +64,8 @@ configure:2626: found /usr/bin/gcc
configure:2637: result: gcc
configure:2866: checking for C compiler version
configure:2875: gcc --version >&5
gcc (Ubuntu 8.3.0-6ubuntu1~18.10.1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
......@@ -70,13 +73,13 @@ configure:2886: $? = 0
configure:2875: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.3.0-6ubuntu1~18.10.1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10.1)
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:2886: $? = 0
configure:2875: gcc -V >&5
gcc: error: unrecognized command line option '-V'
......@@ -135,8 +138,8 @@ configure:3675: found /usr/bin/g++
configure:3686: result: g++
configure:3713: checking for C++ compiler version
configure:3722: g++ --version >&5
g++ (Ubuntu 8.3.0-6ubuntu1~18.10.1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
......@@ -144,13 +147,13 @@ configure:3733: $? = 0
configure:3722: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.3.0-6ubuntu1~18.10.1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10.1)
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:3733: $? = 0
configure:3722: g++ -V >&5
g++: error: unrecognized command line option '-V'
......@@ -214,11 +217,11 @@ configure: failed program was:
| #define VERSION "1.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4311: Found your Intel SGX SDK in /d/sgxd/sgx-sdk-build/sgxsdk
configure:4368: enabling SGX... yes
configure:4535: checking that generated files are newer than configure
configure:4541: result: done
configure:4580: creating ./config.status
configure:4307: Found your Intel SGX SDK in /d/sgxd/sgx-sdk-build/sgxsdk
configure:4364: enabling SGX... yes
configure:4556: checking that generated files are newer than configure
configure:4562: result: done
configure:4601: creating ./config.status
## ---------------------- ##
## Running config.status. ##
......@@ -233,7 +236,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_COMMANDS =
$ ./config.status
on kladko
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating Makefile
config.status:815: creating secure_enclave/Makefile
......@@ -273,7 +276,7 @@ ac_cv_env_target_alias_value=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
......@@ -312,7 +315,7 @@ AM_V='$(V)'
AUTOCONF='${SHELL} /d/sgxd/missing autoconf'
AUTOHEADER='${SHELL} /d/sgxd/missing autoheader'
AUTOMAKE='${SHELL} /d/sgxd/missing automake-1.15'
AWK='gawk'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
......@@ -331,8 +334,8 @@ ENCLAVE_RELEASE_SIGN_FALSE=''
ENCLAVE_RELEASE_SIGN_TRUE='#'
ENCLAVE_SIGN_TARGET='signed_enclave_dev'
EXEEXT=''
GMP_CPPFLAGS='-I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include'
GMP_LDFLAGS='-L/d/sgxd/gmp-build/lib'
GMP_CPPFLAGS=''
GMP_LDFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
......@@ -380,8 +383,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service'
SGX_URTS_LIB='sgx_urts'
SHELL='/bin/bash'
STRIP=''
TGMP_CPPFLAGS='-I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include'
TGMP_LDFLAGS='-L/d/sgxd/tgmp-build/lib'
TGMP_CPPFLAGS=''
TGMP_LDFLAGS=''
VERSION='1.0'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
......
......@@ -435,7 +435,7 @@ ac_pwd='/d/sgxd'
srcdir='.'
INSTALL='/usr/bin/install -c'
MKDIR_P='/bin/mkdir -p'
AWK='gawk'
AWK='mawk'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
......@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]=""
S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["TGMP_LDFLAGS"]="-L/d/sgxd/tgmp-build/lib"
S["TGMP_CPPFLAGS"]="-I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include"
S["GMP_LDFLAGS"]="-L/d/sgxd/gmp-build/lib"
S["GMP_CPPFLAGS"]="-I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include"
S["TGMP_LDFLAGS"]=""
S["TGMP_CPPFLAGS"]=""
S["GMP_LDFLAGS"]=""
S["GMP_CPPFLAGS"]=""
S["SGX_HW_SIM_FALSE"]=""
S["SGX_HW_SIM_TRUE"]="#"
S["ENCLAVE_RELEASE_SIGN_FALSE"]=""
......@@ -667,7 +667,7 @@ S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
S["AMTAR"]="$${TAR-tar}"
S["am__leading_dot"]="."
S["SET_MAKE"]=""
S["AWK"]="gawk"
S["AWK"]="mawk"
S["mkdir_p"]="$(MKDIR_P)"
S["MKDIR_P"]="/bin/mkdir -p"
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
......
......@@ -2485,6 +2485,7 @@ ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
......@@ -2494,6 +2495,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
......@@ -2517,6 +2520,7 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
# is OK; and we want to be able to make that assumption in our Makefile
# recipes. So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree.
# See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though.
......@@ -2529,7 +2533,9 @@ on the command line, even when the '-f' option is present. This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message. This
can help us improve future automake versions.
END
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
......@@ -4156,12 +4162,7 @@ fi
# Check whether --with-sgxsdk was given.
if test "${with_sgxsdk+set}" = set; then :
withval=$with_sgxsdk; SGXSDK=$withval
else
SGXSDK="detect"
fi
SGXSDK="${PWD}/sgx-sdk-build/sgxsdk"
if test "x$sgxsim" = "yes"; then :
......@@ -4253,8 +4254,9 @@ else
fi
SGX_DEBUG_FLAGS=$_sgxdebug
if test -d ${PWD}/sgx-sdk-build/sgxsdk; then :
SGXSDK=${PWD}/sgx-sdk-build/sgxsdk
if test -d ${SGXSDK}; then :
else
as_fn_error $? "Can't detect your Intel SGX SDK installation directory" "$LINENO" 5
fi
......@@ -4364,19 +4366,44 @@ $as_echo "$as_me: enabling SGX... ${ac_cv_enable_sgx}" >&6;}
ac_cv_sgx_init=yes
gmpdir=
tgmpdir=
export gmpdir="${PWD}/gmp-build"
export tgmpdir="${PWD}/tgmp-build"
# Check whether --with-gmpdir was given.
if test "${with_gmpdir+set}" = set; then :
withval=$with_gmpdir; gmpdir=$withval
fi
GMP_CPPFLAGS="-I${gmpdir}/include -I${tgmpdir}/include"
GMP_LDFLAGS="-L$gmpdir/lib"
TGMP_CPPFLAGS="-I${tgmpdir}/include -I${gmpdir}/include"
# Check whether --with-trusted-gmpdir was given.
if test "${with_trusted_gmpdir+set}" = set; then :
withval=$with_trusted_gmpdir; tgmpdir=$withval
else
tgmpdir=$gmpdir
fi
if test "$gmpdir" != ""; then :
TGMP_LDFLAGS="-L$tgmpdir/lib"
GMP_CPPFLAGS=-I$gmpdir/include
GMP_LDFLAGS=-L$gmpdir/lib
fi
if test "$tgmpdir" != ""; then :
TGMP_CPPFLAGS=-I$tgmpdir/include
TGMP_LDFLAGS=-L$tgmpdir/lib
fi
ac_config_files="$ac_config_files Makefile secure_enclave/Makefile"
......@@ -5700,3 +5727,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
......@@ -201,8 +201,8 @@ AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AUTOCONF = ${SHELL} /d/sgxd/missing autoconf
AUTOHEADER = ${SHELL} /d/sgxd/missing autoheader
AUTOMAKE =
AWK = gawk
AUTOMAKE = ${SHELL} /d/sgxd/missing automake-1.15
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
......@@ -219,8 +219,8 @@ ECHO_N = -n
ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = .so
GMP_CPPFLAGS = -I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include
GMP_LDFLAGS = -L/d/sgxd/gmp-build/lib
GMP_CPPFLAGS =
GMP_LDFLAGS =
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
......@@ -265,8 +265,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash
STRIP =
TGMP_CPPFLAGS = -I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include
TGMP_LDFLAGS = -L/d/sgxd/tgmp-build/lib
TGMP_CPPFLAGS =
TGMP_LDFLAGS =
VERSION = 1.0
abs_builddir = /d/sgxd/secure_enclave
abs_srcdir = /d/sgxd/secure_enclave
......@@ -318,7 +318,8 @@ SGX_SIGN = $(SGXSDK_BINDIR)/sgx_sign
SGXSSL_BINDIR = @SGXSSL_BINDIR@
AM_CFLAGS = -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector
AM_CPPFLAGS = -I$(SGXSDK_INCDIR) -I$(SGXSDK_INCDIR)/tlibc $(TGMP_CPPFLAGS) -I../libff \
-I../sgx-sdk-build/sgxsdk/include/libcxx
-I../sgx-sdk-build/sgxsdk/include/libcxx \
-I../intel-sgx-ssl/Linux/package/include
AM_CXXFLAGS = -nostdinc++ -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector -fno-builtin
AM_LDFLAGS = -nostdlib -nodefaultlibs -nostartfiles -L$(SGXSDK_LIBDIR) $(TGMP_LDFLAGS)
CLEANFILES = $(ENCLAVE).signed.so secure_enclave_t.c \
......@@ -334,7 +335,7 @@ secure_enclave_SOURCES = secure_enclave_t.c secure_enclave_t.h \
../libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp $(ENCLAVE_KEY) $(ENCLAVE_CONFIG)
secure_enclave_LDADD = -Wl,--no-undefined -Wl,--whole-archive -l$(SGX_TRTS_LIB) -Wl,--no-whole-archive -Wl,--start-group $(SGX_EXTRA_TLIBS) -lsgx_tstdc -lsgx_tcrypto -l$(SGX_TSERVICE_LIB) -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0
SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx
SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx ../intel-sgx-ssl/Linux/package/lib64/libsgx_tsgxssl_crypto.a
all: all-am
.SUFFIXES:
......
......@@ -318,7 +318,8 @@ SGX_SIGN = $(SGXSDK_BINDIR)/sgx_sign
SGXSSL_BINDIR = @SGXSSL_BINDIR@
AM_CFLAGS = @SGX_ENCLAVE_CFLAGS@
AM_CPPFLAGS = @SGX_ENCLAVE_CPPFLAGS@ $(TGMP_CPPFLAGS) -I../libff \
-I../sgx-sdk-build/sgxsdk/include/libcxx
-I../sgx-sdk-build/sgxsdk/include/libcxx \
-I../intel-sgx-ssl/Linux/package/include
AM_CXXFLAGS = @SGX_ENCLAVE_CXXFLAGS@ @SGX_ENCLAVE_CFLAGS@ -fno-builtin
AM_LDFLAGS = @SGX_ENCLAVE_LDFLAGS@ $(TGMP_LDFLAGS)
CLEANFILES = $(ENCLAVE).signed.so secure_enclave_t.c \
......@@ -334,7 +335,7 @@ secure_enclave_SOURCES = secure_enclave_t.c secure_enclave_t.h \
../libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp $(ENCLAVE_KEY) $(ENCLAVE_CONFIG)
secure_enclave_LDADD = @SGX_ENCLAVE_LDADD@
SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx
SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx ../intel-sgx-ssl/Linux/package/lib64/libsgx_tsgxssl_crypto.a
all: all-am
.SUFFIXES:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment