Use buildflags and only build one attach_linux binary Original patch: William Grzybowski <william@grzy.org> The original code tries to build both 32-bit and 64-bit versions. This patched version only builds one copy of the library for the build architecture.