summaryrefslogtreecommitdiff
path: root/hints/dec_osf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r--hints/dec_osf.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
new file mode 100644
index 0000000000..1f9d71f5c9
--- /dev/null
+++ b/hints/dec_osf.sh
@@ -0,0 +1,9 @@
+# hints/dec_osf.sh
+optimize="-g"
+ccflags="$ccflags -DSTANDARD_C -DDEBUGGING"
+# Version 1 has problems with -no_archive if only an archive
+# lib is available.
+case "$osvers" in
+1*) lddlflags='-shared -expect_unresolved "*" -s' ;;
+*) lddlflags='-shared -no_archive -expect_unresolved "*" -s' ;;
+esac