From 5063f52d8272b60841752817fe594ae47589207b Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 15 Jun 2021 17:42:04 +0000 Subject: [PATCH] libxcrypt: fix toolchain build was built with gcc from host instead of gcc pass1. Signed-off-by: Arne Fitzenreiter --- lfs/libxcrypt | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.39.5