commit | 557289d52c47c5630e0ad8aec2351887d10ad42b | [log] [tgz] |
---|---|---|
author | Michael Spencer <bigcheesegs@gmail.com> | Thu Feb 20 15:25:36 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 11:15:44 2020 -0700 |
tree | 8769f56134f77b5b000a451c46e9a0666541fc3c | |
parent | e04aaf38a7f4c699e02bdfd8b738eb7c9b46139c [diff] |
[libunwind][CMake] Treat S files as C to work around CMake bug. The OSX_ARCHITECTURES property is supposed to add the -arch flag when targeting Apple platforms. However, due to a bug in CMake (https://github.com/Kitware/CMake/blob/master/Source/cmLocalGenerator.cxx#L1780), this does not apply to assembly files. This results in a linker error when trying to build libunwind for i386 on MacOS. rdar://59642189 GitOrigin-RevId: d4ded05ba851304b26a437896bc3962ef56f62cb