debugserver: Rely on mig architectures being specified externally
authorVedant Kumar <vsk@apple.com>
Mon, 10 Feb 2020 18:10:10 +0000 (10:10 -0800)
committerVedant Kumar <vsk@apple.com>
Mon, 10 Feb 2020 18:13:05 +0000 (10:13 -0800)
commiteaeb5610ced23404f2c799d6e0c46c05f06ac3b5
treeaed4370a95fc6ac5b399f5d3d9f60628c3332733
parentfcdb99e0b5b4820d28913f5d1d40a37f45b3817b
debugserver: Rely on mig architectures being specified externally

Look up the -arch flags to pass to the mig invocation from an
optionally-defined MIG_ARCHS variable. We can't use CMAKE_OSX_ARCHS
because the {i,tv,watch}OS builds don't use this mechanism to achieve
fat builds (they build each slice separately & then lipo them together).

This supercedes the mig -arch/-isysroot fix from
510758dae2a8fa4b0b26dea89d4d1efd576b8ad6.
lldb/tools/debugserver/source/CMakeLists.txt