summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index b103cf5bd3..a310a2dfc6 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -113,6 +113,9 @@ usemymalloc='y'
alignbytes=8
selecttype='int *'
+# When HP-UX runs a script with "#!", it sets argv[0] to the script name.
+toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
+
# If your compile complains about FLT_MIN, uncomment the next line
# POSIX_cflags='ccflags="$ccflags -DFLT_MIN=1.17549435E-38"'