carlocab wrote:

> Maybe instead, the logic in the patch should be setting `-syslibroot` for 
> linker in following order:
> 
> * `--sysroot`
> * `-isysroot`
> * `C.getSysRoot()`, which is basically DEFAULT_SYSROOT as other cases is 
> handled in `--sysroot`

Thanks, pushed a change that I think should implement this. Haven't gotten 
around to testing it yet, I will this afternoon.

https://github.com/llvm/llvm-project/pull/115993
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to