mwrap (Perl version) user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <user@example.com>
To: mwrap-perl@80x24.org
Cc: Eric Wong <e@80x24.org>
Subject: [PATCH 1/4] Makefile.PL: remove CCFLAGS overrides
Date: Sat,  2 Nov 2019 10:40:17 +0000	[thread overview]
Message-ID: <20191102104020.30317-2-user@example.com> (raw)
In-Reply-To: <20191102104020.30317-1-user@example.com>

From: Eric Wong <e@80x24.org>

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',

  reply	other threads:[~2019-11-02 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02 10:40 [PATCH 0/4] build system fixes Eric Wong
2019-11-02 10:40 ` Eric Wong [this message]
2019-11-02 10:40 ` [PATCH 2/4] workaround -DNDEBUG warnings Eric Wong
2019-11-02 10:40 ` [PATCH 3/4] quiet uninitialized variable warnings Eric Wong
2019-11-02 10:40 ` [PATCH 4/4] avoid mixing declarations and code Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191102104020.30317-2-user@example.com \
    --to=user@example.com \
    --cc=e@80x24.org \
    --cc=mwrap-perl@80x24.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mwrap-perl.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).