joyent/node — pull request #4211 by trentm (2012-10-29 20:39:08+00:00)
Title: Fix build with gcc 4.7.0 on sunos: use -pthreads

Specifically I'm testing on a recent smartos. With this recent gcc
version at least the "-threads" option is an HPPA-only option. The use
of '-threads' for sunos builds dates back to
https://github.com/joyent/node/commit/4279725d790b5b23e89e4ff90cff2c03be21635d

I know that a new v0.4 build isn't planned, but this would help those stuck deploying old v0.4-only services to a new sunos box.