summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorHans Raaf <hara@oderwat.de>2015-02-16 09:50:02 +0100
committerHans Raaf <hara@oderwat.de>2015-02-16 09:50:02 +0100
commit440db2d003a577f60b0c9c8aee1ffb799f6c943a (patch)
treeae5db2d16060578fcf4524b88fa4a769eefbf859 /config
parentd8c4c576372f63219b90203a71855c93a10ddda3 (diff)
downloadNim-440db2d003a577f60b0c9c8aee1ffb799f6c943a.tar.gz
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.
Diffstat (limited to 'config')
-rw-r--r--config/nim.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index ba0f4c581..32709137d 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"