From: Stefan Schantl Date: Tue, 23 Feb 2021 20:15:57 +0000 (+0100) Subject: Makefile.am: Do not specify CC and LD when building perl module. X-Git-Tag: 0.9.6~6 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Flibloc.git;a=commitdiff_plain;h=37a20a793f1d415ff8384a904efed03c7285c0ef;hp=d39d928b4db79e9c32d68d49de47be8b55b3ca92 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 --- 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