Makefile.am: Do not specify CC and LD when building perl module.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 23 Feb 2021 20:15:57 +0000 (21:15 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2021 18:22:21 +0000 (18:22 +0000)
Specifing the CC and LD flags is not required because perl MakeMaker
takes care of this.

Fixes #12574.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 52a4722..4b865f1 100644 (file)
@@ -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