[Issue 10391] New: Add proper compiler/linker flag for threading support on HP-UX