forked from OSchip/llvm-project
[sema] NFC Unable to build Sema library with MSVC Debug target due to missing /bigobj
Summary: Unable to build sema library on MSVC with Debug target ``` C:\clang\llvm-project\clang\lib\Sema\SemaOpenMP.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj ``` Reviewed By: aaron.ballman Subscribers: mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79292
This commit is contained in:
parent
97f92261df
commit
9e194a3b93
|
@ -9,6 +9,7 @@ if (MSVC)
|
|||
set_source_files_properties(SemaExprCXX.cpp PROPERTIES COMPILE_FLAGS /bigobj)
|
||||
set_source_files_properties(SemaTemplate.cpp PROPERTIES COMPILE_FLAGS /bigobj)
|
||||
set_source_files_properties(SemaTemplateDeduction.cpp PROPERTIES COMPILE_FLAGS /bigobj)
|
||||
set_source_files_properties(SemaOpenMP.cpp PROPERTIES COMPILE_FLAGS /bigobj)
|
||||
endif()
|
||||
|
||||
clang_tablegen(OpenCLBuiltins.inc -gen-clang-opencl-builtins
|
||||
|
|
Loading…
Reference in New Issue