summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMaxim De Clercq <maximdeclercq00@gmail.com>2022-01-22 01:14:36 +0100
committerMaxim De Clercq <maximdeclercq00@gmail.com>2022-01-22 01:14:36 +0100
commita021680591cf581fccd05a9dbb0914163f69e8ba (patch)
tree8417f27929c1a7d254c5a0878d9f911f6fb9c7f7 /.gitlab-ci.yml
parent3e9abfedb43e6f52ebb3f24adaf8bf0871712181 (diff)
downloadconduit-a021680591cf581fccd05a9dbb0914163f69e8ba.zip
fix: make sure libatomic is always linked because it's skipped on arm targets
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5cae743..b863de9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ variables:
- if [ -n "${SCCACHE_BIN_URL}" ]; then curl $SCCACHE_BIN_URL --output /sccache && chmod +x /sccache && export RUSTC_WRAPPER=/sccache; fi
# Make sure that cc-rs links the correct libraries statically when cross-compiling
# See https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables for more information
- - 'export CARGO_BUILD_RUSTFLAGS="-L$TARGET_HOME/lib" CXXSTDLIB="static=stdc++"'
+ - 'export CARGO_BUILD_RUSTFLAGS="-L$TARGET_HOME/lib -latomic" CXXSTDLIB="static=stdc++"'
# Make sure that rust-bindgen uses the correct include path when cross-compiling
# See https://github.com/rust-lang/rust-bindgen#environment-variables for more information
- 'export BINDGEN_EXTRA_CLANG_ARGS="-I$TARGET_C_INCLUDE_PATH"'