Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
Added pthread linker argument for freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
kayceesrk committed Feb 19, 2013
1 parent c5ee42a commit 0b36260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trunk/bin/add-cross
Expand Up @@ -132,7 +132,7 @@ darwin)
osOpts='-I/opt/local/include -I/sw/include -L/opt/local/lib -L/sw/lib -lgmp'
;;
freebsd)
osOpts='-I/usr/local/include -L/usr/local/lib/ -lgmp'
osOpts='-I/usr/local/include -L/usr/local/lib/ -lgmp -lpthread'
;;
hpux)
osOpts=''
Expand Down
2 changes: 1 addition & 1 deletion trunk/bin/mlton-script
Expand Up @@ -111,7 +111,7 @@ doit "$lib" \
-malign-loops=2' \
-target-link-opt amd64 '-m64' \
-target-link-opt darwin "$darwinLinkOpts -pthread" \
-target-link-opt freebsd '-L/usr/local/lib/' \
-target-link-opt freebsd '-L/usr/local/lib/ -lpthread' \
-target-link-opt linux '-lplpa_included -pthread -lrt' \
-target-link-opt aix '-maix64' \
-target-link-opt ia64 '-mlp64' \
Expand Down

0 comments on commit 0b36260

Please sign in to comment.