From 440db2d003a577f60b0c9c8aee1ffb799f6c943a Mon Sep 17 00:00:00 2001 From: Hans Raaf Date: Mon, 16 Feb 2015 09:50:02 +0100 Subject: [PATCH] Removing -fasmblocks default for OS X Considering that alternatives to the Apple compiler versions of xcode like GCC 4.9 (as installed by Homebrew) error out because it is an unknown parameter. Modern Xcode's clang + gcc do not seem to need this anymore. I think it is ok to remove because developer with old xcode are rare and can easily add this to their systems if needed. --- config/nim.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nim.cfg b/config/nim.cfg index ba0f4c581e..32709137d1 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -105,8 +105,8 @@ path="$lib/pure/unidecode" @if macosx or freebsd: cc = clang tlsEmulation:on - gcc.options.always = "-w -fasm-blocks" - gcc.cpp.options.always = "-w -fasm-blocks -fpermissive" + gcc.options.always = "-w" + gcc.cpp.options.always = "-w -fpermissive" @else: gcc.options.always = "-w" gcc.cpp.options.always = "-w -fpermissive"