<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120847>120847</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Question: Add target specific include/library directories by default.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
WildCard65
</td>
</tr>
</table>
<pre>
How would I go about either modifying or instructing clang to add directories to its default include/library search paths that are suffixed with the target triple (default or --target=).
I found a potential solution inside Driver/Toolchains but is there a generic simple solution to accomplish this, atleast for linux/bsd.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskc-OmzAQh5_GXEZBxsBCDhzSXaHusVKlngd7gKkcjOxxsnn7irZpe-jJ8p8Zf7_5MCVeNqJBtZ9U-1ZgljXE4Rt794rRvbTFFNxj-BzucA_ZO3iHJQBOIQsQy0oRrsHx_OBtgRCBtyQxWzm21uO2gARA58BxJCshMqXjiCWBoxmzF-DN-uxImdHzFDE-IBFGu8KOsiaQFQUwEqQ8z_xBDu4sK8hKIBgXEpDIuydQpn-2DBFOp1-3qn5T5lwqfVH68g5zyJsDhD0IbcLoIQWfhcN2sLMjeIt8o6jM-DUEb1fkLcGUBfhAoUiAsNBGkS0kvh4f_-lwZLU2XHfP6SDkpMwroHjCJDCHCJ63_KHMOCVXFm6o3bk-Y0FD1dVNr5uu6op16HvEF6O7utKGdGN6XZ_p7LCdjTWtfSl4MNo0lTFV1VdV25Vt5Wrq5k73XT-h7lSj6YrsS-9v1zLEpeCUMg2V0X3TFR4n8unpPA7Hq9OUl6Qa7TlJ-lsnLJ6GL5nSkVDVF7g49xx82snyzPY_Cv_1PT2erssiRz-sIntS9UWZUZlxYVnzVNpwPcr97bmc9hi-kxVlxp_wSZnxN_9tMD8CAAD__4pI7O8">