When compiler-rt's CMake is not directly invoked, it will currently not call project() and thus ASM will not be enabled.
We also don't need to put the .S files through the C compiler then.
@kubabrecka Could you test under OS X with XCode? I don't have the hardware at hand to make sure that works...
Actually, I do have one suggestion here. Make this:
The runtimes subdirectory CMake file sets the *_STANDALONE_BUILD variable, so we can use it before it would be set in the normal standalone build.