Skip to content

Commit b5950c5

Browse files
committed
ci: fix build SGX on stable
1 parent 6cd5c2b commit b5950c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ct.sh

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if [ -z $TRAVIS_RUST_VERSION ]; then
99
exit 1
1010
fi
1111

12+
export CFLAGS_x86_64_fortanix_unknown_sgx="-isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening"
13+
export CC_x86_64_fortanix_unknown_sgx=clang-11
14+
1215
if [ $TRAVIS_RUST_VERSION = "stable" ] || [ $TRAVIS_RUST_VERSION = "beta" ] || [ $TRAVIS_RUST_VERSION = "nightly" ]; then
1316
rustup default $TRAVIS_RUST_VERSION
1417
rustup target add --toolchain $TRAVIS_RUST_VERSION $TARGET

0 commit comments

Comments
 (0)