cc-rs
cc-rs copied to clipboard
Fix xctoolchain AppleClang to corrrectly use -isysroot
The first commit is #708 but unseparatable.
Fix AppleClang build for -apple-darwin to add -isysroot for MacOSX.sdk correctly when cc is under xctoolchain.
Becasue -isysroot priors to $SDKROOT env variable, the original ad-hoc fix is not required anymore.