Преглед на файлове

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 преди 9 години
родител
ревизия
b453751480
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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