summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-11-05 00:35:15 +0000
committerEric Christopher <echristo@gmail.com>2014-11-05 00:35:15 +0000
commit4cd064b8e86f3d52e9b78e329059bdfffd15d52e (patch)
treea05a8c175f89dc61b2475a120ba3440579b9d31b /Makefile.config.in
parentcafa378fe005c3f6668c7ab84dbbbaa67b18d0ed (diff)
Add a check for misbehaving -Wcomment from gcc-4.7 and add
-Wno-comment to the compilation flags if so. Patch by Filipe Cabecinhas, configure regenerated by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 4df270b379f..d34a2d51a93 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -396,6 +396,8 @@ COVERED_SWITCH_DEFAULT = @COVERED_SWITCH_DEFAULT@
NO_UNINITIALIZED = @NO_UNINITIALIZED@
# -Wno-maybe-uninitialized
NO_MAYBE_UNINITIALIZED = @NO_MAYBE_UNINITIALIZED@
+# -Wno-comment
+NO_COMMENT = @NO_COMMENT@
# Was polly found in tools/polly?
LLVM_HAS_POLLY = @LLVM_HAS_POLLY@