From 86f04e2336932fc3e4243b9c1287f7328be7ee70 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 2 May 2025 10:16:30 +0000 Subject: [PATCH] perl: Respect our CFLAGS/LDFLAGS in the toolchain stage, too Signed-off-by: Michael Tremer --- lfs/perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/perl b/lfs/perl index c6da19ce8..68aefaccb 100644 --- a/lfs/perl +++ b/lfs/perl @@ -89,7 +89,8 @@ ifeq "$(ROOT)" "" cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install else - cd $(DIR_APP) && ./Configure -des -Dprefix=$(TOOLS_DIR) -Dlibs="-lpthread -lm" -Uloclibpth -Ulocincpth + cd $(DIR_APP) && ./configure.gnu --prefix=$(TOOLS_DIR) \ + -des -Dlibs="-lpthread -lm" -Uloclibpth -Ulocincpth cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && cp -v perl cpan/podlators/scripts/pod2man $(TOOLS_DIR)/bin cd $(DIR_APP) && mkdir -pv $(TOOLS_DIR)/lib/perl5/$(VER) -- 2.39.5