[PATCH] D56215: [lld] [ELF] Include default search paths for NetBSD driver
Rui Ueyama via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 8 13:08:32 PST 2019
ruiu added a comment.
I'm sorry to say this but I don't think this is a good approach. Just like changing the default behavior depending on host hurts cross-build and is against the policy of the lld driver, changing the default behavior depending on the target hurts it too. Imagine that you are doing a cross-build on non-NetBSD system to create a NetBSD executable. You definitely want to ignore /usr/lib/i386 and /usr/lib on the host system. This patch does the opposite.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56215/new/
https://reviews.llvm.org/D56215
More information about the cfe-commits
mailing list