From ce1e4345f85cffe8a7a3359c6fa2ba711e88e0dc Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date: Wed, 7 Jan 2015 03:42:15 -0800
Subject: [PATCH] Leopard: Default to -fno-blocks

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
---
 clang/lib/Driver/ToolChains/Darwin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Driver/ToolChains/Darwin.h b/clang/lib/Driver/ToolChains/Darwin.h
index 74433dc05cce..d53b18fbc662 100644
--- a/clang/lib/Driver/ToolChains/Darwin.h
+++ b/clang/lib/Driver/ToolChains/Darwin.h
@@ -215,7 +215,7 @@ public:
   bool IsBlocksDefault() const override {
     // Always allow blocks on Apple; users interested in versioning are
     // expected to use /usr/include/Block.h.
-    return true;
+    return false;
   }
   bool IsIntegratedAssemblerDefault() const override {
     // Default integrated assembler to on for Apple's MachO targets.
-- 
2.37.2

