diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2012-06-06 12:00:10 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2012-06-06 12:00:10 +0000 |
| commit | b27ea0278486a3b3578ebb565b216bfc5a1f43e7 (patch) | |
| tree | 55b1f4579cdb0af9d85130516dc6e65ea135b086 /clang/lib/Frontend/CMakeLists.txt | |
| parent | cd96c44dcee4ba88c613d6e5460c8cd643098b12 (diff) | |
| download | bcm5719-llvm-b27ea0278486a3b3578ebb565b216bfc5a1f43e7.tar.gz bcm5719-llvm-b27ea0278486a3b3578ebb565b216bfc5a1f43e7.zip | |
Zap the /Za compiler switch from MSVC projects, the option is considered harmful even by Microsoft people and clang won't build using the MSVC 2012 RC if not removed.
Only 1 minor code change was necessary: can't use cdecl as variable name anymore.
llvm-svn: 158063
Diffstat (limited to 'clang/lib/Frontend/CMakeLists.txt')
| -rw-r--r-- | clang/lib/Frontend/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Frontend/CMakeLists.txt b/clang/lib/Frontend/CMakeLists.txt index a2b5c1e28e5..6f61290c053 100644 --- a/clang/lib/Frontend/CMakeLists.txt +++ b/clang/lib/Frontend/CMakeLists.txt @@ -41,13 +41,6 @@ add_clang_library(clangFrontend Warnings.cpp ) -IF(MSVC) - get_target_property(NON_ANSI_COMPILE_FLAGS clangFrontend COMPILE_FLAGS) - string(REPLACE /Za - "" NON_ANSI_COMPILE_FLAGS - ${NON_ANSI_COMPILE_FLAGS}) - set_target_properties(clangFrontend PROPERTIES COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS}) -ENDIF(MSVC) add_dependencies(clangFrontend ClangAttrClasses |

