Author: akhaldi Date: Thu Sep 11 11:03:20 2014 New Revision: 64116
URL: http://svn.reactos.org/svn/reactos?rev=64116&view=rev Log: [OLEAUT32] * Link with mingwex. * Fall back to gas with vartype.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed. CORE-8516
Modified: trunk/reactos/dll/win32/oleaut32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/oleaut32/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/CMakeLis... ============================================================================== --- trunk/reactos/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] Thu Sep 11 11:03:20 2014 @@ -49,6 +49,12 @@ ${CMAKE_CURRENT_BINARY_DIR}/oleaut32_ocidl_p.c ${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def)
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang") + target_link_libraries(oleaut32 mingwex) + #FIXME: http://llvm.org/bugs/show_bug.cgi?id=19027 + set_property(SOURCE vartype.c APPEND_STRING PROPERTY COMPILE_FLAGS " -no-integrated-as") +endif() + add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl) add_dependencies(oleaut32 oleaut32_idlheader) set_module_type(oleaut32 win32dll)