From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.3 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 348B61F4C0; Sat, 2 Nov 2019 10:40:21 +0000 (UTC) From: Eric Wong To: mwrap-perl@80x24.org Cc: Eric Wong Subject: [PATCH 1/4] Makefile.PL: remove CCFLAGS overrides Date: Sat, 2 Nov 2019 10:40:17 +0000 Message-Id: <20191102104020.30317-2-user@example.com> In-Reply-To: <20191102104020.30317-1-user@example.com> References: <20191102104020.30317-1-user@example.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Eric Wong Blindly copied from a C++ project :P --- Makefile.PL | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index dc7d6dd..a7d131d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,12 +29,6 @@ END # may be empty chomp(my $INC = `$pkg_config --cflags liburcu-cds liburcu-bp`); my @writemakefile_args = (); -# Filter out some gcc options which g++ doesn't support. -my $CCFLAGS = $Config{ccflags}; - -if (defined $ENV{CPPFLAGS}) { - $CCFLAGS .= ' ' . $ENV{CPPFLAGS}; -} # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -49,7 +43,6 @@ push @writemakefile_args, ( LICENSE => 'gpl_2', # GPL-2.0+, CPAN::Meta::Spec limitation MIN_PERL_VERSION => '5.8.0', BUILD_REQUIRES => {}, - CCFLAGS => $CCFLAGS, # e.g -I/usr/include/$ARCH INC => $INC, depend => { Makefile => 'lib/Devel/Mwrap.pm',