Created attachment 239122 [details] Mk/bsd.port.mk: fix --build argument with HOSTARCH ATM it is impossible to cross-compile when using GNU_CONFIGURE, because the --build argument is set with CONFIGURE_TARGET. As its name suggests, CONFIGURE_TARGET is set with the ARCH of the target, and this is fine for the --host argument, but --build must be set with HOSTARCH, i.e. the arch of the building machine. The attached patch (oneliner) fixes that. Remark: the CROSS_TOOLCHAIN stuff is only for LLVM and not appropriate for GCC.