From 37a20a793f1d415ff8384a904efed03c7285c0ef Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 23 Feb 2021 21:15:57 +0100 Subject: [PATCH 1/1] Makefile.am: Do not specify CC and LD when building perl module. Specifing the CC and LD flags is not required because perl MakeMaker takes care of this. Fixes #12574. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 52a4722..4b865f1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -230,7 +230,7 @@ build-perl: cd $(builddir)/src/perl && $(PERL) Makefile.PL INSTALLDIRS=vendor \ INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc" - cd $(builddir)/src/perl && $(MAKE) CC="$(CC)" LD="$(LD)" LD_RUN_PATH= + cd $(builddir)/src/perl && $(MAKE) LD_RUN_PATH= .PHONY: check-perl check-perl: testdata.db -- 2.39.2