Path to this page:
Subject: CVS commit: pkgsrc
From: Taylor R Campbell
Date: 2022-04-04 13:22:51
Message id: 20220404112251.752E1FB24@cvs.NetBSD.org
Log Message:
cwrappers: Add cross-compilation support.
- New option `sysroot=<dir>':
. Wrapper will add `--sysroot=<dir>' as first argument.
. For every rpath argument, e.g. -Wl,-R<path> to cc, wrapper will
pass `-rpath-link <dir><path>' to the linker.
This matches the old mk/wrapper/cmd-sink-cross-* logic.
- Create wrappers for the ${MACHINE_GNU_PLATFORM}-cc style of command,
as in ${CC}, ${CXX}, ${LD} for cross-builds.
- Bump version.
- Use TOOL_DEPENDS, not BUILD_DEPENDS, for cwrappers.
Files: