joyent/node — pull request #3126 by davepacheco (2012-04-17 21:16:49+00:00)
Title: Fix 64-bit SmartOS build

This change fixes an issue where the 64-bit SmartOS build would fail trying to build the ustack helper (which is not supported on 64-bit) *after* successfully building out/Release/node. The reason is that Node's Makefile builds all targets in the GYP file by default, so although nothing was depending on the ustack helper in 64-bit, GYP tried to build it anyway. The solution is to make this target's actions predicated on being 32-bit, similar to the way several of them are already predicated on using DTrace.