diff options
| author | Jarek Prokop <jprokop@redhat.com> | 2025-12-22 10:13:34 +0100 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2026-01-06 23:55:06 -0500 |
| commit | 25c72b0e8e206e5baec71d4ece7551b7da7da445 (patch) | |
| tree | 379b83578dee860b637fd6cdc93f6bc0fb076c33 /template | |
| parent | 1abb609d667d4e07fb30192ef9da376bb288e230 (diff) | |
Support customizable rustc_flags for rustc builds.
Add `rustc_flags` option for configure that appends to RUSTC_FLAGS
flags used when compiling with rustc for customizable build flags.
It appends to existing defaults in RUSTC_FLAGS.
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'template')
| -rw-r--r-- | template/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index 443c394cb4..0b7b50e3aa 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -115,6 +115,7 @@ CARGO_TARGET_DIR=@abs_top_builddir@/target CARGO_BUILD_ARGS=@CARGO_BUILD_ARGS@ ZJIT_TEST_FEATURES=@ZJIT_TEST_FEATURES@ JIT_RUST_FLAGS=@JIT_RUST_FLAGS@ +RUSTC_FLAGS=@RUSTC_FLAGS@ RLIB_DIR=@RLIB_DIR@ RUST_LIB=@RUST_LIB@ RUST_LIBOBJ = $(RUST_LIB:.a=.@OBJEXT@) |
