This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Subject: optimize matching -g still enables -DDEBUGING
authorH.Merijn Brand <merijn@tux09.procura.nl>
Mon, 14 Feb 2011 21:59:08 +0000 (22:59 +0100)
committerH.Merijn Brand <merijn@tux09.procura.nl>
Mon, 14 Feb 2011 21:59:08 +0000 (22:59 +0100)
commit8cfbfbfe9a5222b3c251a5be45366861e6516b30
tree98d166dd40e0d6c4ba7a52d40c29e99952e9cf99
parent4641839dd12512ef6c47c0c7184535d1c81d0854
Subject: optimize matching -g still enables -DDEBUGING
From: Nicholas Clark <nick@ccl4.org>
Date: Mon, 14 Feb 2011 16:01:49 +0000
Message-ID: <20110214160149.GU24189@plum.flirble.org>

INSTALL says this:

    =item -DEBUGGING=-g

    =item -Doptimize=-g

    Adds -g to optimize, but does not set -DDEBUGGING.

    (Note:  Your system may actually require something like cc -g2.
    Check your man pages for cc(1) and also any hint file for your system.)

However, we *aren't* compliant with our documentation, as currently
-Doptimize=-g (or anything containing -g) still causes -DDEBUGGING to be
added to the C flags.
U/compline/ccflags.U