summaryrefslogtreecommitdiff
path: root/functions.cmake
diff options
context:
space:
mode:
authorHyeongseok Oh <hseok82.oh@samsung.com>2016-12-17 04:06:16 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-12-16 20:06:16 +0100
commitbedc2a0f2031538ac236ff129572739d1ecd97bb (patch)
treebf220c72e3ff4b866745b37d13c688da0e1fb2c6 /functions.cmake
parentaeae8e110c4f93602f00a18ac1cdb3cb9d2700a9 (diff)
downloadcoreclr-bedc2a0f2031538ac236ff129572739d1ecd97bb.tar.gz
coreclr-bedc2a0f2031538ac236ff129572739d1ecd97bb.tar.bz2
coreclr-bedc2a0f2031538ac236ff129572739d1ecd97bb.zip
Fix buildsystem for linux cross-architecture component build (#8646)
* Fix buildsystem for linux cross-architecture component build * refactoring build.sh, bug fix and typo fix * Update build.sh
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.cmake b/functions.cmake
index bac20e8bc6..e1a9abb469 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -1,6 +1,8 @@
function(clr_unknown_arch)
if (WIN32)
message(FATAL_ERROR "Only AMD64, ARM64, ARM and I386 are supported")
+ elseif(CLR_CROSS_COMPONENTS_BUILD)
+ message(FATAL_ERROR "Only AMD64, I386 are supported for cross-architecture component")
else()
message(FATAL_ERROR "Only AMD64, ARM64 and ARM are supported")
endif()