Subject: [bug#38376] [PATCH] gnu: clang: Fix search path detection with --sysroot.

From: Mathieu Othacehe <[email-masked]>
Date: Tue, 26 Nov 2019 08:15:20 +0100

Hello Carl,

> This was fine when running clang normally, but when a user supplies
> clang with --sysroot, clang _should_ do the search path detection. This
> commit fixes runing clang with --sysroot.

Thanks for your patch. Do you think this could be done in a way that can
be upstreamed? In lib/Driver/ToolChains/Gnu.cpp, there are some Gentoo
specific stuff, maybe they would agree to integrate some Guix/nix specific
stuff too.

WDYT?

Mathieu