Fix up lldb cmake linker flags for MacOSX.
authorTodd Fiala <todd.fiala@gmail.com>
Tue, 17 Jun 2014 20:54:56 +0000 (20:54 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Tue, 17 Jun 2014 20:54:56 +0000 (20:54 +0000)
commitaeddd8bb19a2d716755ab9ee94aa0f1671eea8f5
treeea1d52fc0656b40cab99fae32315f0c06756e312
parent18362bfd27b952489a4ab7b56134e2c14acd1b5c
Fix up lldb cmake linker flags for MacOSX.

Change r210035 broke the Darwin cmake build.  The
initial change was intended to stop the --start-group/--end-group
linker flags from being passed to non-gcc/clang-looking compilers,
stopping MSVC from warning on linking.  That change, however,
caused MacOSX cmake-based builds to start using the --start-group/
--end-group flags, even though the MacOSX linker doesn't support
them.  That broke the MacOSX clang build.

The fix keeps the newer check for a gcc-compatible compiler, but
specifically excludes MacOSX.

llvm-svn: 211123
lldb/CMakeLists.txt