[RICHED20]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 10 Sep 2014 16:03:22 +0000 (16:03 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 10 Sep 2014 16:03:22 +0000 (16:03 +0000)
* Fall back to gas with some source files until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64107

reactos/dll/win32/riched20/CMakeLists.txt

index 8491fdc..58a9d68 100644 (file)
@@ -33,6 +33,11 @@ else()
     list(APPEND SOURCE txthost.c txtsrv.c)
 endif()
 
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+    #FIXME: http://llvm.org/bugs/show_bug.cgi?id=19027
+    set_property(SOURCE txthost.c txtsrv.c APPEND_STRING PROPERTY COMPILE_FLAGS " -no-integrated-as")
+endif()
+
 list(APPEND ADDITIONAL_SOURCE
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/riched20.def)