Cross compile compiler-rt

I am attempting to build compiler-rt for ARM Cortex A8. I have build Clang on Windows. When I run the cmake for compiler-rt it gives the target as i386.

I have built and executed code on my target, so I know that my copy of Clang can compile for the target processor.

How do I tell cmake to cross compile compiler-rt?