Procházet zdrojové kódy

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 před 9 roky
rodič
revize
b453751480
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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