Page MenuHomePhabricator

[AIX][clang][driver] Restrict /usr/lib to internal library search paths

Authored by daltenty on Feb 26 2021, 12:50 PM.



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.

Diff Detail

Event Timeline

daltenty requested review of this revision.Feb 26 2021, 12:50 PM
daltenty created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 26 2021, 12:50 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ZarkoCA accepted this revision.Mar 1 2021, 3:54 AM
This revision is now accepted and ready to land.Mar 1 2021, 3:54 AM