From 2500edffc9f1f44983927351eb60d4fe1cee4bcd Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Wed, 7 Jan 2015 03:42:15 -0800 Subject: [PATCH] Leopard: Default to -fno-blocks --- a/tools/clang/lib/Driver/ToolChains/Darwin.h.orig +++ b/tools/clang/lib/Driver/ToolChains/Darwin.h @@ -198,7 +198,7 @@ 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.2.1