1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/Mk
Yuri Victorovich dbd1f33e37 Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
  because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
  in the cross-compilation mode.

Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.

Immadiate benefits:
* Unbreak build on architectures like i386 that sometimes require
  special RUSTFLAGS that were not effective in the cross-compilation
  mode.

Ports that really need cross-compilation for some reason should
enable it on case-by-case basis. Example: net-p2p/cncli
(Not sure why does net-p2p/cncli actually need it, but it only
builds with these options.)

PR:		280305
Approved by:	rust@FreeBSD.org (maintainer's timeout; 98 days)
2024-11-05 00:08:25 -08:00
..
Features
Scripts Mk/Scripts: Fix typos 2024-09-12 17:09:32 +02:00
Uses Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports 2024-11-05 00:08:25 -08:00
Wrappers
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk Mk/bsd.default-versions.mk: Update comment: add pgsql 17 2024-09-30 21:38:45 +08:00
bsd.destdir.mk
bsd.gcc.mk
bsd.gecko.mk www/firefox www/firefox-esr mail/thunderbird: set wxneeded 2024-09-25 23:43:22 +02:00
bsd.java.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk
bsd.options.desc.mk
bsd.options.mk
bsd.port.mk Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV 2024-10-11 13:45:16 +02:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.sanity.mk
bsd.sites.mk Mk/bsd.sites.mk: Update IDSOFTWARE entries 2024-10-06 22:15:46 +02:00
bsd.wx.mk