summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CMakeLists.txt
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2012-06-06 12:00:10 +0000
committerFrancois Pichet <pichet2000@gmail.com>2012-06-06 12:00:10 +0000
commitb27ea0278486a3b3578ebb565b216bfc5a1f43e7 (patch)
tree55b1f4579cdb0af9d85130516dc6e65ea135b086 /clang/lib/Frontend/CMakeLists.txt
parentcd96c44dcee4ba88c613d6e5460c8cd643098b12 (diff)
downloadbcm5719-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.txt7
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
OpenPOWER on IntegriCloud