fix: linking against libatomic is no longer required since the library path is fixed

This commit is contained in:
Maxim De Clercq 2022-01-21 17:26:25 +01:00
parent d94f3c1e9a
commit bfef94f5f4
No known key found for this signature in database
GPG Key ID: D35643779C52BA70
1 changed files with 1 additions and 1 deletions

View File

@ -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 when cross-compiling (required for compiling librocksdb-sys)
# See https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables for more information
- 'export TARGET_CFLAGS="-L$TARGET_HOME/lib -latomic"'
- 'export TARGET_CFLAGS="-L$TARGET_HOME/lib"'
# Make sure that rust-bindgen uses the correct include path when cross-compiling (required for compiling librocksdb-sys)
# See https://github.com/rust-lang/rust-bindgen#environment-variables for more information
- 'export BINDGEN_EXTRA_CLANG_ARGS="-I$TARGET_C_INCLUDE_PATH"'