From e40fc3d65f9680f2500bb95b7771dd552a927b20 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 10 Sep 2014 16:03:22 +0000 Subject: [PATCH] [RICHED20] * 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/dll/win32/riched20/CMakeLists.txt b/reactos/dll/win32/riched20/CMakeLists.txt index 8491fdc1d07..58a9d68cb8b 100644 --- a/reactos/dll/win32/riched20/CMakeLists.txt +++ b/reactos/dll/win32/riched20/CMakeLists.txt @@ -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)