mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-03-09 16:47:00 +01:00
fix build on systems where native ar/ranlib don't work for target
explicitly pass the pathnames to newly-installed binutils versions of these programs into musl's make.
This commit is contained in:
parent
2f1e820bed
commit
b453751480
2
Makefile
2
Makefile
@ -146,7 +146,7 @@ musl/.mcm_configured: musl/.mcm_cloned gcc-$(GCC_VER)/build0/.mcm_built
|
||||
touch $@
|
||||
|
||||
musl/.mcm_built: musl/.mcm_configured
|
||||
cd musl && $(MAKE)
|
||||
cd musl && $(MAKE) AR=$(OUTPUT)/bin/$(TARGET)-ar RANLIB=$(OUTPUT)/bin/$(TARGET)-ranlib
|
||||
touch $@
|
||||
|
||||
musl/.mcm_installed: musl/.mcm_built
|
||||
|
Loading…
Reference in New Issue
Block a user