From: Charles McGarvey Date: Sun, 20 Jan 2013 00:58:24 +0000 (-0700) Subject: never treat zeromq compiler warnings as fatal X-Git-Tag: v0.04~2 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=989b095b09c4bfaf245ca7cbbf04aecdf89f92a9;p=chaz%2Fp5-Alien-ZMQ never treat zeromq compiler warnings as fatal --- diff --git a/inc/My/Build.pm b/inc/My/Build.pm index d905d55..ca4a02a 100644 --- a/inc/My/Build.pm +++ b/inc/My/Build.pm @@ -182,7 +182,7 @@ sub install_zeromq { say "Configuring..."; my @config = $cb->split_like_shell($self->args('zmq-config') || ""); chdir $srcdir; - $cb->do_system(qw/sh configure/, "--prefix=$prefix", @config) + $cb->do_system(qw/sh configure CPPFLAGS=-Wno-error/, "--prefix=$prefix", @config) or die "Failed to configure ØMQ"; say "Compiling...";