libxcrypt: fix toolchain build

was built with gcc from host instead of gcc pass1.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-06-15 17:42:04 +00:00
parent 3c7ae78792
commit 5063f52d82

View File

@@ -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 \