Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 57659 invoked from network); 13 Jul 2009 22:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 22:20:33 -0000 Received: (qmail 17943 invoked by uid 500); 13 Jul 2009 22:20:43 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 17837 invoked by uid 500); 13 Jul 2009 22:20:42 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 17829 invoked by uid 99); 13 Jul 2009 22:20:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 22:20:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rhys.ulerich@gmail.com designates 209.85.132.248 as permitted sender) Received: from [209.85.132.248] (HELO an-out-0708.google.com) (209.85.132.248) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 22:20:34 +0000 Received: by an-out-0708.google.com with SMTP id d14so1323809and.13 for ; Mon, 13 Jul 2009 15:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=1CD3KRq7hP6wJR2TYphJr+po2fyWjUjT6Q+TzufRkd0=; b=Sif3LNdCk3n8dn4xqFqXJ+ReJhuFFcgcA4LOAuU2uD91agTqqJs7jqfYQdojeHEHkj dmRo7QD8FOiKbktKWfrq6e2STXXZrPHm7b9gtQflCmyswBfgdlatgFphmT+otlvhi2SY EjpwxjgQ1JhznBz8ibvdh3XQUebt0n1rg4qNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=qyJF8fw4pnld7vFRSL7G5L1VwiHPCRUew1sHKFAv2jGB7t/HcQv2YgBdYj2CNFsBJm XQKklsbUngHcWmWsXBtVk5hIBmOvKVaBdIrXm1a7BWCmZ/w92+i0NhEeL6R/ZOgkh4Tu hdX+MOJ9RN/gqlWY/Xvjn/UToKQE86lCXw5vA= MIME-Version: 1.0 Received: by 10.101.69.6 with SMTP id w6mr8063253ank.6.1247523613117; Mon, 13 Jul 2009 15:20:13 -0700 (PDT) From: Rhys Ulerich Date: Mon, 13 Jul 2009 17:19:53 -0500 Message-ID: <4a00655d0907131519s37cf3fb7t2c92af50ddb70a0e@mail.gmail.com> Subject: apr 1.3.6 incorrectly includes "-g -O2" in 'pkg-config --cflags" To: Apache Portable Runtime Development Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, apr version 1.3.6 incorrectly includes "-g -O2" in the output of 'pkg-config --cflags apr-1': -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/org/centers/pecos/LIBRARIES/APR/apr-1.3.6-intel-10.1.017/include/apr-1 A pkg-config package shouldn't be mucking with optimization and debugging flags. Generally, all of the entries from -DLINUX=2 through -O2 look suspect in that output. I'm not good enough with apr to know if they're required, however. An #if statement including LINUX appears in the installed apr_general.h. Neither _REENTRANT nor _GNU_SOURCE appears in any of the headers in the installation directory. These entries appear in pkg-config output because @EXTRA_CPPFLAGS@ and @EXTRA_CFLAGS@ are present in apr.pc.in. Thanks for your time, Rhys