diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-10-02 17:37:40 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-10-02 17:37:40 +0000 |
| commit | b22351cb185aa40acbd63d60596a96927b0c6f55 (patch) | |
| tree | 0923cfe7fee74fa7ac832071bc0d7e7073a9f5bd | |
| parent | 335f5c7e3e2f69aee8b84a31c948f244c17b9755 (diff) | |
| download | bcm5719-llvm-b22351cb185aa40acbd63d60596a96927b0c6f55.tar.gz bcm5719-llvm-b22351cb185aa40acbd63d60596a96927b0c6f55.zip | |
[CMake] Workaround for the lipo output directory not being created.
This should resolve an issue reported by mclow.
llvm-svn: 249158
| -rw-r--r-- | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index 12969b9abd7..9dc1c064f03 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -187,6 +187,7 @@ function(darwin_lipo_libs name) "LIPO_FLAGS;DEPENDS" ${ARGN}) add_custom_command(OUTPUT ${LIB_OUTPUT_DIR}/lib${name}.a + COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_OUTPUT_DIR} COMMAND lipo -output ${LIB_OUTPUT_DIR}/lib${name}.a -create ${LIB_LIPO_FLAGS} |

