apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47979] Installed pkg-config returns extraneous information for 'pkg-config apr-1 --cflags'
Date Sun, 11 Oct 2009 21:09:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47979

Rhys Ulerich <rhys.ulerich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Rhys Ulerich <rhys.ulerich@gmail.com> 2009-10-11 14:09:14 UTC ---
> Just to be clear: You complain that -g -O2 show up in apr.pc when
> CFLAGS aren't set or set to "", correct?

Correct.  Sorry for not being clear in the bug report.

unset CFLAGS gives
> Cflags: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I${includedir}
which seems incorrect.

CFLAGS="" gives 
> Cflags: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I${includedir}
like I expect, at least in 1.3.8.  This behavior is correct.

CFLAGS="-g -O2" gives
> Cflags: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -pthread -I${includedir}
like I expect.  This behavior is correct.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message