compile nim on freebsd
This commit is contained in:
parent
f87d663ab7
commit
19354b62f6
2 changed files with 3 additions and 1 deletions
|
|
@ -398,4 +398,6 @@ typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <types/vxWind.h>
|
# include <types/vxWind.h>
|
||||||
# include <tool/gnu/toolMacros.h>
|
# include <tool/gnu/toolMacros.h>
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ case $uos in
|
||||||
myos="freebsd"
|
myos="freebsd"
|
||||||
CC="clang"
|
CC="clang"
|
||||||
LINKER="clang"
|
LINKER="clang"
|
||||||
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
|
LINK_FLAGS="$LINK_FLAGS -lm"
|
||||||
;;
|
;;
|
||||||
*openbsd* )
|
*openbsd* )
|
||||||
myos="openbsd"
|
myos="openbsd"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue