[JIRA] Created: (CPPOST-72) Excessive CFLAGS included in installed pkgconfig file

russ allbery (JIRA) noreply at shibboleth.net
Wed Feb 15 00:37:37 GMT 2012


Excessive CFLAGS included in installed pkgconfig file
-----------------------------------------------------

                 Key: CPPOST-72
                 URL: https://issues.shibboleth.net/jira/browse/CPPOST-72
             Project: OpenSAML 2 - C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.4.3
         Environment: Discovered as part of building the Debian packages, but I believe this applies to all UNIX environments.
            Reporter: russ allbery
            Assignee: Scott Cantor
            Priority: Minor


The installed pkgconfig file includes, in addition to the flags required to link with the library, other compiler flags that were used to build the library but that are not important for clients and may be different than what a library client desires.  This includes compiler optimization and warning flags.  For example:

Cflags: -I${includedir} -pthread -g -Wall -O2 -O2 -DNDEBUG 

The first two flags do need to be included; the rest probably should not be "leaked" to library clients.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list