[40/42] perl: Respect our CFLAGS/LDFLAGS in the toolchain stage, too

Message ID 20250502101632.1082010-40-michael.tremer@ipfire.org
State New
Headers
Series [01/42] gcc: Update to 15 |

Commit Message

Michael Tremer May 2, 2025, 10:16 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/perl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

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)