You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to build proot with prefixed toolchains, and it requires allowing to override commands with Make variables. Currently many commands are overridable, but there are two exceptions: ld and pkg-config.
ld is hard-coded here:
BUILD_ID_NONE := $(shell if ld --build-id=none --version >/dev/null 2>&1; then echo ',--build-id=none'; fi)
This patch adds new make variables, LD_CMD and PKG_CONFIG, to allow
overriding command invocations when using prefixed toolchains. Usually
it is enough to set CROSS_COMPILE though.
Fixesproot-me#359.
proot's makefile doesn't support overriding ld/pkg-config command
invocations, so patch it. An upstream patch has been sent:
proot-me/proot#359
proot doesn't link with LLVM ld, so force to use GNU ld.
proot-me/proot#360
proot's makefile doesn't support overriding ld/pkg-config command
invocations, so patch it. An upstream patch has been sent:
proot-me/proot#359
proot doesn't link with LLVM ld, so force to use GNU ld.
proot-me/proot#360
Signed-off-by: Shuhei Takahashi <[email protected]>
I'd like to build proot with prefixed toolchains, and it requires allowing to override commands with Make variables. Currently many commands are overridable, but there are two exceptions:
ld
andpkg-config
.ld
is hard-coded here:https://github.com/proot-me/proot/blob/master/src/GNUmakefile#L162
pkg-config
is hard-coded here:https://github.com/proot-me/proot/blob/master/src/GNUmakefile#L25
The text was updated successfully, but these errors were encountered: