[PATCH] Use $SDKROOT variable that may point to some SDK

Since Clang respect SDKROOT some may set it do different than default SDK. Also this makes possible to use clang from Xcode w/o installing Command Line Tools.

If it is not defined (empty) everything remain as it was before.

NOTE: Actually Clang/LLVM themselves build with SDKROOT just fine, only lldb don't.

0001-Use-SDKROOT-variable-that-may-point-to-some-SDK.patch (587 Bytes)