cmake: Simplify the iOS.cmake toolchain
authorJustin Bogner <mail@justinbogner.com>
Fri, 12 Feb 2016 23:36:05 +0000 (23:36 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 12 Feb 2016 23:36:05 +0000 (23:36 +0000)
commit76fbdeb7d5a65dcb220bc0d73cfb8dd66293fde5
tree9b97c1d246c1c92355a3de3e0f08592e90b0860f
parentea84722b8ba7d83999f2117235d6f621ff08f836
cmake: Simplify the iOS.cmake toolchain

- Remove a comment that was clearly copy pasted from Android.cmake and
  isn't relevant.
- Remove the toolchain's sensitivity to the environment. It's less
  error prone to just allow users to set CMAKE_OSX_SYSROOT if they
  want to use a custom SDK.
- Stop explicitly setting -mios-version-min to the default value. It
  just adds needless complexity.

This makes building the native tablegen work for me even when SDKROOT
is set in the environment (or passed in as -DCMAKE_OSX_SYSROOT).

llvm-svn: 260763
llvm/cmake/platforms/iOS.cmake