aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/template/hpux3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/template/hpux b/src/template/hpux
index ce4d93ced7b..79d3475664e 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