Skip to content

Commit

Permalink
Change fix target to gnu instead of musl
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Nov 25, 2024
1 parent 468e1a5 commit 67ed57b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions quickwit/Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ RUSTFLAGS="LIB_LDFLAGS=-L/usr/lib/x86_64-linux-gnu CFLAGS=-I/usr/local/musl/incl
[target.aarch64-unknown-linux-gnu]
image = "quickwit/cross:aarch64-unknown-linux-gnu"

[target.aarch64-unknown-linux-gnu.env]
# Fix build for transitive dependency rdkafka -> rdkafka-sys -> sasl2-sys -> krb5-src
# Introduced by https://github.com/MaterializeInc/rust-krb5-src/pull/27
passthrough = ["KRB5_CV_ATTR_CONSTRUCTOR_DESTRUCTOR=yes", "AC_CV_FUNC_REGCOMP=yes", "AC_CV_PRINTF_POSITIONAL=yes"]

[target.aarch64-unknown-linux-musl]
image = "quickwit/cross:aarch64-unknown-linux-musl"
linker = "aarch64-linux-musl-gcc"

[target.aarch64-unknown-linux-musl.env]
# Fix build for transitive dependency rdkafka -> rdkafka-sys -> sasl2-sys -> krb5-src
passthrough = ["KRB5_CV_ATTR_CONSTRUCTOR_DESTRUCTOR=yes", "AC_CV_FUNC_REGCOMP=yes", "AC_CV_PRINTF_POSITIONAL=yes"]

0 comments on commit 67ed57b

Please sign in to comment.