diff options
| author | Evgeniy Khramtsov <evgeniy@khramtsov.org> | 2021-08-04 12:43:13 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2021-08-16 20:16:51 +0000 |
| commit | e6d430445e5a7180f1b45e61eb7793c8c43f3aa0 (patch) | |
| tree | fd22b1229e1dc3d6daec8b5fc005a9b1bda93acc | |
| parent | b237992a95abe64ae9d7e01a415c93022d440518 (diff) | |
| download | ports-e6d430445.tar.gz ports-e6d430445.zip | |
net-im/fractal: respect RUSTFLAGS
Set RUSTFLAGS like Mk/Uses/cargo.mk does to respect CC and LDFLAGS.
PR: 257621
Approved by: Greg V <greg@unrelenting.technology> (maintainer)
| -rw-r--r-- | net-im/fractal/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-im/fractal/Makefile b/net-im/fractal/Makefile index 4dd946805ef2..d974a6f0d704 100644 --- a/net-im/fractal/Makefile +++ b/net-im/fractal/Makefile @@ -31,7 +31,8 @@ INSTALLS_ICONS= yes # for the gettext-sys crate MAKE_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \ GETTEXT_LIB_DIR=${LOCALBASE}/lib \ - GETTEXT_INCLUDE_DIR=${LOCALBASE}/include + GETTEXT_INCLUDE_DIR=${LOCALBASE}/include \ + RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}" post-patch: # Disable vendor checksums |
