We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b114e3a commit f32c6e7Copy full SHA for f32c6e7
toolchain-msvc.cmake
@@ -43,6 +43,11 @@ if(USE_CLANG_CL)
43
set(CMAKE_CXX_COMPILER_TARGET "i686-pc-windows-msvc")
44
endif()
45
46
+ if (ARCH STREQUAL "arm" OR ARCH STREQUAL "i386")
47
+ set(CMAKE_C_FLAGS "-m32")
48
+ set(CMAKE_CXX_FLAGS "-m32")
49
+ endif()
50
+
51
# Avoid wrapping RC compiler with cmcldeps utility for clang-cl.
52
# Otherwise it breaks cross-compilation (32bit ReactOS cannot be compiled by 64bit LLVM),
53
# target architecture is not passed properly
0 commit comments