Allow blead to compile under some g++
authorKarl Williamson <public@khwilliamson.com>
Wed, 5 Feb 2014 20:01:45 +0000 (13:01 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 5 Feb 2014 20:10:08 +0000 (13:10 -0700)
Various platforms are refusing to compile blead with g++ [perl #121151]
This patch, suggested by Tony Cook seems to work.  There may be a better
way to do it, so I'm not closing the ticket, but this gets things
working again.

ext/SDBM_File/Makefile.PL

index b96b80b..676708c 100644 (file)
@@ -20,7 +20,6 @@ WriteMakefile(
               XSPROTOARG => '-noprototypes',           # XXX remove later?
               VERSION_FROM => 'SDBM_File.pm',
               DEFINE => $define,
-             PERL_MALLOC_OK => 1,
              );
 
 # We don't want the default subdir rule, as it creates a race condition with the