diff options
author | Xarblu <xarblu@protonmail.com> | 2025-04-14 20:20:20 +0200 |
---|---|---|
committer | Xarblu <xarblu@protonmail.com> | 2025-04-14 20:20:20 +0200 |
commit | 96e82871a4895732fe900fe3c2960af09fd0dfb1 (patch) | |
tree | c86a8afe28c6d788965b5200ca7035b8107dda61 | |
parent | c9ee6467183b224b40ca437fd23eeabe0ae6a158 (diff) |
Preserve RUSTFLAGS from environment
Since commit 3666da87f249b23b2c1f506e0d4157fd56c543e2
the Makefile fully replaced RUSTFLAGS which users might want
to modify e.g. to use other linkers via -Clinker=*
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ CFLAGS+=$(call cc-disable-warning, zero-length-array) CFLAGS+=$(call cc-disable-warning, shift-overflow) CFLAGS+=$(call cc-disable-warning, enum-conversion) CFLAGS+=$(call cc-disable-warning, gnu-variable-sized-type-not-at-end) -export RUSTFLAGS=-C default-linker-libraries +export RUSTFLAGS:=$(RUSTFLAGS) -C default-linker-libraries PKGCONFIG_LIBS="blkid uuid liburcu libsodium zlib liblz4 libzstd libudev libkeyutils" ifdef BCACHEFS_FUSE |