diff options
author | 2015-12-02 20:27:50 +0100 | |
---|---|---|
committer | 2015-12-02 20:55:48 +0100 | |
commit | 8eff1b80294e92ebc2f0273980ccabdc615f85f3 (patch) | |
tree | 96ad83d5f2e3842489589c815dcc7819862acd04 /kde-apps | |
parent | Revert "dev-libs/libgcrypt: cleanup" (diff) | |
download | gentoo-8eff1b80294e92ebc2f0273980ccabdc615f85f3.tar.gz gentoo-8eff1b80294e92ebc2f0273980ccabdc615f85f3.tar.bz2 gentoo-8eff1b80294e92ebc2f0273980ccabdc615f85f3.zip |
sys-devel/llvm: Fix bogus flags and paths in llvm-config, #565358
Fix llvm-config to avoid bogus results. In particular:
1. Limit --cflags and --cxxflags to package-specific flags. Do not
output the whole flag-string used during the build. This fixes libclc
build issues when LLVM build flags were not tolerated by clang.
2. Fix library names and paths to use shared library suffix rather than
static library suffix, especially that we do not install static
libraries.
3. Wipe out --system-libs since they should not be required for dynamic
linking.
4. Ban --obj-root and --src-root when running outside source tree, since
we are not installing any sources and therefore their results would
always be bogus.
Based on patch provided by Steven Newbury.
Fixes: https://bugs.gentoo.org/565358
Diffstat (limited to 'kde-apps')
0 files changed, 0 insertions, 0 deletions