]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
perl: Respect our CFLAGS/LDFLAGS in the toolchain stage, too
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 May 2025 10:16:30 +0000 (10:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 May 2025 14:32:44 +0000 (14:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/perl

index c6da19ce8d9c1a395e0d11dc9e66e9cf17eb3eb5..68aefaccb5e6ec5bc5703001f5848bc5fde03eb6 100644 (file)
--- 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)