summaryrefslogtreecommitdiff
path: root/configurecompiler.cmake
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2019-02-13 20:15:10 (GMT)
committerGitHub <noreply@github.com>2019-02-13 20:15:10 (GMT)
commitd0109ee909f8dde3c5dd24b81d34922323369f6d (patch)
tree7cddb6372712d2b4567c5138671a1467595d517e /configurecompiler.cmake
parent78cbd968cabc2bd6c84bfe6a0a240658e564a6d5 (diff)
downloadcoreclr-d0109ee909f8dde3c5dd24b81d34922323369f6d.zip
coreclr-d0109ee909f8dde3c5dd24b81d34922323369f6d.tar.gz
coreclr-d0109ee909f8dde3c5dd24b81d34922323369f6d.tar.bz2
Fix comment placement. (#22580)
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r--configurecompiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake
index d291595..709994d 100644
--- a/configurecompiler.cmake
+++ b/configurecompiler.cmake
@@ -439,8 +439,6 @@ if (CLR_CMAKE_PLATFORM_UNIX)
endif(CLR_CMAKE_PLATFORM_DARWIN)
add_definitions(-DDISABLE_CONTRACTS)
- # The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop
- # after hitting just about 20 errors.
if (CLR_CMAKE_WARNINGS_ARE_ERRORS)
# All warnings that are not explicitly disabled are reported as errors
@@ -448,6 +446,8 @@ if (CLR_CMAKE_PLATFORM_UNIX)
endif(CLR_CMAKE_WARNINGS_ARE_ERRORS)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ # The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop
+ # after hitting just about 20 errors.
add_compile_options(-ferror-limit=4096)
# Disabled warnings