From: Arne Fitzenreiter Date: Tue, 15 Jun 2021 17:42:04 +0000 (+0000) Subject: libxcrypt: fix toolchain build X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5063f52d8272b60841752817fe594ae47589207b;p=people%2Fstevee%2Fipfire-2.x.git libxcrypt: fix toolchain build was built with gcc from host instead of gcc pass1. Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/libxcrypt b/lfs/libxcrypt index 79edc5fb6f..3cc2daa042 100644 --- a/lfs/libxcrypt +++ b/lfs/libxcrypt @@ -33,6 +33,8 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) ifeq "$(TOOLCHAIN)" "1" TARGET = $(DIR_INFO)/$(THISAPP)-tools + EXTRACONFIG = --host=$(CROSSTARGET) \ + --target=$(CROSSTARGET) else TARGET = $(DIR_INFO)/$(THISAPP) endif @@ -78,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP) && \ ./configure \ + $(EXTRACONFIG) \ --prefix=$(PREFIX) \ --disable-static \ --enable-hashes=strong,glibc \