Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600622 - sys-devel/llvm hardcodes `pkg-config`
Summary: sys-devel/llvm hardcodes `pkg-config`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 442958
  Show dependency tree
 
Reported: 2016-11-23 20:43 UTC by SpanKY
Modified: 2016-11-27 11:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2016-11-23 20:43:30 UTC
multilib_src_configure() {
    local ffi_cflags ffi_ldflags
    if use libffi; then
-       ffi_cflags=$(pkg-config --cflags-only-I libffi)
-       ffi_ldflags=$(pkg-config --libs-only-L libffi)
+       ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
+       ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
    fi
 
    local libdir=$(get_libdir)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-27 11:00:28 UTC
commit 9b6a28286598c4d44b14dd3f269057330834b3b7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Sun Nov 27 11:52:23 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Nov 27 12:00:09 2016

    sys-devel/llvm: Respect toolchain-funcs pkg-config override, #600622