diff --git a/src/template/hpux b/src/template/hpux index ce4d93ced7badb8ccbe786424930387088b4060f..79d3475664e6ddf4313f5b1e69ed9adb76d83d53 100644 --- a/src/template/hpux +++ b/src/template/hpux @@ -1,9 +1,10 @@ # src/template/hpux +# Need this for access to many modern library features CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" +# HP's compiler likes the spelling +O2 not -O2, so adjust default CFLAGS if test "$GCC" != yes ; then - CC="$CC -Ae" CFLAGS="+O2" fi