Cross-building ports via CROSS_TOOLCHAIN and CROSS_SYSROOT only set
ARCH to the target arch. MACHINE still references the host. This
unbreaks cross-building ports for mips.
Details
Details
- Reviewers
jbeich bapt - Group Reviewers
portmgr O5: Ports Framework (Owns No Changed Paths) - Commits
- rP520454: Use ARCH instead of MACHINE to check for mips.
- try to cross-build base/gcc and have it fail due to SSP flags in CFLAGS
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 27834 Build 26012: arc lint + arc unit
Event Timeline
Comment Actions
Looks OK:
- ${ARCH} is defined in <bsd.port.options.mk> but Mk/bsd.ssp.mk is processed in <bsd.port.post.mk>
- logic didn't change because mips64 was part of mips set, which I originally cargo-culted from <bsd.sys.mk> (after minor testing)
Sorry, I don't have time to reproduce your issue.
Mk/bsd.ssp.mk | ||
---|---|---|
7 | ! ${FOO:Mtest} is more common in ports/ than ${FOO:Mtest} == "". |