<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56960>56960</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM 15.0.0-rc1: compiler_rt does not build on older version of macOS
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
debohman
</td>
</tr>
</table>
<pre>
I am running macOS 10.12.6 on an older machine. The issue is that:
```
TARGET_OS_DRIVERKIT
```
is not defined in ```/usr/include/TargetConditionals.h```.
I worked around the problem in the header file:
```
#define TARGET_OS_DRIVERKIT 0
```
This issue is new in llvm-15.0.0.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9kVFv2yAQxz-N_YKCMI7t-MEP3dJO0TpVSqO-RmDOhg1DBLjVvv3Abto-RLMQvtMdd7__Hbfib3dAbEJuNkaZEU2sf3pGBcEFxTWyBjGDrBbgUkQqAxidJCDl_ZxuFCQLWXmXkX1GrndN3s_inu6OP-5P56fn8_54eLk__jycbubFYsYGJGCIXQRSBn0m0IfZu3gr0-tZQLROzI0QvlsjVFDWMO2x_MjHX3EO6M26P7Eic3Y2IhIDujjLNUypSXIlsKRwUBr-ryWj5cqHbqhC14_cfrtOQ0adH9Mz8JYYtH6dNkWFCb6i59AVddU2Jam2u1x0pWjLluVBBQ3d4-PLL7Smb1xfRGTU2-kS6d3ZxQlaWEfJZ6VF2uG6wFdwXiVvWLecz053MoSLT6LpQzyjCnLmOFaLTqJ6_23iwH5DH9IKEruPRlW3Ncll1w5815e8otuaQV3UpKkGKAbB6p7TYSC5Zhy077LqW0bpojiViHZW7XPVUUIp2ZGKkiJqxW3dAOcNbYZdBYLW2ZbAxJTGiQNbN-auW5D4PPoY1MoH_xlk3qvRACztYn02B2ldJ4BbOTGTL727hf0fU4zk3A">