Cmake variables are global, which is why we would get crud like /machine:X86 in the...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 23 Oct 2014 22:13:52 +0000 (22:13 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 23 Oct 2014 22:13:52 +0000 (22:13 +0000)
commite927a170221282d238c70f59145e8a7f3f61a606
tree9617c149c306f59ce3da516c54bd5881996176f7
parent03478d952d4eea2436fe3a2e263154dbf5adf3df
Cmake variables are global, which is why we would get crud like /machine:X86 in the list of compiler options for MSVC. Clear out the variable before attempting to enumerate arguments and set them.

llvm-svn: 220522
compiler-rt/cmake/Modules/CompilerRTUtils.cmake