Why not add CFLAGS=+02 to the hpux template?
Also, it should work now to build with any random combination of C and C++compilers, so maybe try that and remove that point.
-- Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/