make FreeBSD's compiler clang

* there's not much documentation about what's in nim.cfg file
* the build.sh template was updated based on darwin
This commit is contained in:
Mikhail Sobolev 2015-01-12 11:16:52 +02:00
commit 342608db0c
2 changed files with 8 additions and 2 deletions

View file

@ -100,7 +100,7 @@ hint[LineTooLong]=off
@end
@end
@if macosx:
@if macosx or freebsd:
cc = clang
tlsEmulation:on
gcc.options.always = "-w -fasm-blocks"