mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
Changes default macosx compiler to clang.
The default gcc version provided by current Xcode versions doesn't work. Alternatively macport's gcc-4.7 is known to work too, but that is less common for macosx users.
This commit is contained in:
@@ -91,6 +91,7 @@ hint[LineTooLong]=off
|
||||
@end
|
||||
|
||||
@if macosx:
|
||||
cc = clang
|
||||
tlsEmulation:on
|
||||
gcc.options.always = "-w -fasm-blocks"
|
||||
gpp.options.always = "-w -fasm-blocks"
|
||||
|
||||
Reference in New Issue
Block a user