Date: Thu, 29 Dec 2022 19:23:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268645] Mk/bsd.port.mk: fix --build argument in CONFIGURE_ARGS Message-ID: <bug-268645-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268645 Bug ID: 268645 Summary: Mk/bsd.port.mk: fix --build argument in CONFIGURE_ARGS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: thierry@FreeBSD.org CC: ports-bugs@FreeBSD.org Attachment #239122 text/plain mime type: Created attachment 239122 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239122&action= =3Dedit 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268645-7788>