Skip to content
Snippets Groups Projects
Commit e6d43044 authored by Evgeniy Khramtsov's avatar Evgeniy Khramtsov Committed by Jan Beich
Browse files

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)
parent b237992a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment