From 03f64a00ec395c12397ea75a1fafbb3a3383c782 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 1 Jul 2021 08:31:45 +0200 Subject: [PATCH] zlib: use correct gcc at toolchain build Signed-off-by: Arne Fitzenreiter --- lfs/zlib | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lfs/zlib b/lfs/zlib index d742dad866..2c89b4803b 100644 --- a/lfs/zlib +++ b/lfs/zlib @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2021 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -33,6 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) ifeq "$(TOOLCHAIN)" "1" TARGET = $(DIR_INFO)/$(THISAPP)-tools + CROSS_PREFIX = $(CROSSTARGET)- else TARGET = $(DIR_INFO)/$(THISAPP) endif @@ -76,7 +77,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=$(PREFIX) --shared + cd $(DIR_APP) && CROSS_PREFIX=$(CROSS_PREFIX) ./configure --prefix=$(PREFIX) --shared cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install -- 2.39.5