system include dirs are not removed when Cflags contains excess whitespace #99
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
pkgconf version: 1.0.1
I am noticing inconsistent behavior when invoking
pkgconf --cflags
when Cflags contains extra white-space.Note the extraneous
/usr/include
in the first example out put. This should have been removed as a "system" directory.Normally this would be no big deal, but when combined with some strange behavior in Qt/qmake [1] and a behavior change in GCC 6 [2], it leads to odd build failures in several software packages [3].
[1] https://bugreports.qt.io/browse/QTBUG-53367
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
[3] https://bugs.gentoo.org/show_bug.cgi?id=597912
Hmm! Seems the fragment list for
-I/usr/include -I/usr/include/foo
is something like:Okay. We'll get a fix out ASAP.
pkgconf 1.0.2 contains a fix for this issue. Thanks for reporting!