Bug 32536

Summary: pkg-config ignores --param when using --cflags
Product: pkg-config Reporter: kavafree <kavafree>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: kavafree
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description kavafree 2010-12-20 14:08:44 UTC
kava@free ~ $ grep param /usr/lib64/pkgconfig/Coin.pc 
Cflags: -I${includedir} -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -pipe  -I/usr/include/coin -I/usr/include/coin/Inventor/annex -I/usr/include/freetype2 -D_REENTRANT

kava@free ~ $ pkg-config --cflags /usr/lib64/pkgconfig/Coin.pc
-O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=4096 -mtune=core2 -pipe -D_REENTRANT -I/usr/include/coin -I/usr/include/coin/Inventor/annex -I/usr/include/freetype2

As you can see Coin.pc have "(...) --param l1-cache-size=32 --param l1-cache-line-size=64 (...)" while the output of pkg-config are "(...) --param l1-cache-size=32 l1-cache-line-size=64 (...)". 

Version: 0.25
Distro: Gentoo

Seems that the breakage is between version 0.12 and 0.13

Please let me know if any further information is necessary.
Comment 1 Michał Górny 2012-09-02 12:02:32 UTC

*** This bug has been marked as a duplicate of bug 16101 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.