diff --git a/quickwit/Cross.toml b/quickwit/Cross.toml index 00f858be4b4..98c16aa66ad 100644 --- a/quickwit/Cross.toml +++ b/quickwit/Cross.toml @@ -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"]