[NTOS]
[reactos.git] / reactos / ntoskrnl / ntos.cmake
index e42a2d9..56585b7 100644 (file)
@@ -422,3 +422,12 @@ else() # _WINKD_
     endif()
 
 endif()
+
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+    #FIXME: http://llvm.org/bugs/show_bug.cgi?id=19027
+    set_property(SOURCE
+        ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/cpu.c
+        ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/kiinit.c
+        ${REACTOS_SOURCE_DIR}/ntoskrnl/ke/i386/traphdlr.c
+        APPEND_STRING PROPERTY COMPILE_FLAGS " -no-integrated-as")
+endif()