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:
parent
9d0ae03918
commit
342608db0c
2 changed files with 8 additions and 2 deletions
|
|
@ -54,10 +54,16 @@ case $uos in
|
|||
myos="linux"
|
||||
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
|
||||
;;
|
||||
*freebsd* | *dragonfly* )
|
||||
*dragonfly* )
|
||||
myos="freebsd"
|
||||
LINK_FLAGS="$LINK_FLAGS -lm"
|
||||
;;
|
||||
*freebsd* )
|
||||
myos="freebsd"
|
||||
CC="clang"
|
||||
LINKER="clang"
|
||||
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
|
||||
;;
|
||||
*openbsd* )
|
||||
myos="openbsd"
|
||||
LINK_FLAGS="$LINK_FLAGS -lm"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue