diff options
-rw-r--r-- | src/perl/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index 6eaf70c4..62fa155e 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -139,9 +139,10 @@ all-local: for dir in $(perl_dirs); do \ cd $$dir && \ if [ ! -f Makefile ]; then \ - $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ + $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ fi && \ - ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" || $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)") && \ + ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ + $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ cd ..; \ done |