about summary refs log tree commit diff homepage
path: root/runtime/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/CMakeLists.txt')
-rw-r--r--runtime/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index ea8335de..54521f8b 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
@@ -11,8 +11,12 @@ add_subdirectory(Runtest)
 
 # Handle bitcode libraries
 # Define the different configurations to be compiled and made available using a specific suffix
+set(bc_architectures 64)
 
-set(bc_architectures 32 64)
+# Compile 32bit support if available
+if (M32_SUPPORTED)
+    list(APPEND bc_architectures "32")
+endif ()
 
 set(LIB_BC_SUFFIX "")