[PATCH] D97574: [AIX][clang][driver] Restrict /usr/lib to internal library search paths
David Tenty via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 26 12:50:11 PST 2021
daltenty created this revision.
daltenty added reviewers: hubert.reinterpretcast, stevewan, jasonliu.
daltenty requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Adding it to the general filepaths results in it being added to the
linker arguments. The AIX linker always looks in this path anyway
and adds it as a default library path component. Adding this duplicate
explicitly results in duplicate entries in path in the loader section
of executables and messes up tools like CMake that parse the default
library flags.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97574
Files:
clang/lib/Driver/ToolChains/AIX.cpp
clang/test/Driver/aix-ld.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97574.326774.patch
Type: text/x-patch
Size: 11167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210226/11900eb7/attachment.bin>
More information about the cfe-commits
mailing list