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 $@
|
touch $@
|
||||||
|
|
||||||
musl/.mcm_built: musl/.mcm_configured
|
musl/.mcm_built: musl/.mcm_configured
|
||||||
cd musl && $(MAKE)
|
cd musl && $(MAKE) AR=$(OUTPUT)/bin/$(TARGET)-ar RANLIB=$(OUTPUT)/bin/$(TARGET)-ranlib
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
musl/.mcm_installed: musl/.mcm_built
|
musl/.mcm_installed: musl/.mcm_built
|
||||||
|
|
Loading…
Reference in New Issue