This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tru64: allow creating perl.pixie even with optimized Perl
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 5 Jun 2005 18:28:08 +0000 (21:28 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 6 Jun 2005 06:18:51 +0000 (06:18 +0000)
Message-ID: <42A31A08.3070601@gmail.com>

p4raw-id: //depot/perl@24711

Makefile.SH

index 575273c..9b25126 100644 (file)
@@ -650,7 +650,7 @@ perl.valgrind.config: config.sh
 perl.config.dashg:
        @echo "Checking optimize='-g' in config.sh..."
        @grep "^optimize="     config.sh
-       @grep "^optimize='-g'" config.sh >/dev/null || exit 1
+       @egrep "^optimize='(-g|.*-g[1-3].*)'" config.sh >/dev/null || exit 1
 
 perl.third.config: config.sh
        @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."