From fa3a58f3993361e0f3eadca276664bf41852d7b8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 8 May 2014 22:24:01 -0500 Subject: [PATCH] Clang doesn't support -fno-for-scope --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index e51212f48c..4183cdc965 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -158,7 +158,7 @@ class Cmd /^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks', '-fcaller-saves', '-fthread-jumps', '-fno-reorder-blocks', '-fcse-skip-blocks', '-frerun-cse-after-loop', '-frerun-loop-opt', '-fcse-follow-jumps', - '-fno-regmove' + '-fno-regmove', '-fno-for-scope' # clang doesn't support these flags args << arg if not tool =~ /^clang/ when /^-W[alp],/, /^-Wno-/