Explorar el Código

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.
Rich Felker hace 9 años
padre
commit
b453751480
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
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