diff options
author | Kai Ruhnau <Kai.Ruhnau@live.com> | 2019-06-13 02:23:20 +0200 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-06-13 02:23:20 +0200 |
commit | f4fb47edb66d2b1e4ff5c3baf2e7c3ec1f0664da (patch) | |
tree | f66414ad5725c3a801a7d7955ccbfeb14da6eb53 /cross | |
parent | d0540d9a7ef0aa84205ab9a131094c7a7a6dd1cd (diff) | |
download | coreclr-f4fb47edb66d2b1e4ff5c3baf2e7c3ec1f0664da.tar.gz coreclr-f4fb47edb66d2b1e4ff5c3baf2e7c3ec1f0664da.tar.bz2 coreclr-f4fb47edb66d2b1e4ff5c3baf2e7c3ec1f0664da.zip |
Also set the *__TRYRUN_OUTPUT cache value to something. (#24631)
CMake 3.14 fails in a cross-compilation ARM build and complains
that both both *_EXITCODE and *_EXITCODE__TRYRUN_OUTPUT have
to be set. Doing this re-enables the build.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/tryrun.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cross/tryrun.cmake b/cross/tryrun.cmake index 988a59c5f6..f841f56b83 100644 --- a/cross/tryrun.cmake +++ b/cross/tryrun.cmake @@ -3,6 +3,7 @@ set(TARGET_ARCH_NAME $ENV{TARGET_BUILD_ARCH}) macro(set_cache_value) set(${ARGV0} ${ARGV1} CACHE STRING "Result from TRY_RUN" FORCE) + set(${ARGV0}__TRYRUN_OUTPUT "dummy output" CACHE STRING "Output from TRY_RUN" FORCE) endmacro() if(EXISTS ${CROSS_ROOTFS}/usr/lib/gcc/armv6-alpine-linux-musleabihf OR |