This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
valgrind doesn't require that perl was built with -g, so remove the check.
[perl5.git] / Makefile.SH
index 9b8d73b..c1d31f4 100755 (executable)
@@ -936,8 +936,6 @@ linux*|darwin*)
 # Valgrind perl (currently Linux, Darwin only)
 
 perl.valgrind.config: config.sh
-       @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
-       @$(MAKE) perl.config.dashg
        @echo "Checking usemymalloc='n' in config.sh..."
        @grep "^usemymalloc="    config.sh
        @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
@@ -949,11 +947,6 @@ esac
 
 $spitshell >>$Makefile <<'!NO!SUBS!'
 
-perl.config.dashg:
-       @echo "Checking optimize='-g' in config.sh..."
-       @grep "^optimize=" config.sh
-       @egrep "^optimize='(.*-g.*)'" config.sh >/dev/null || exit 1
-
 # Gprof Perl
 
 perl.config.dashpg: