summaryrefslogtreecommitdiff
path: root/src/template/osf
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/osf')
-rw-r--r--src/template/osf21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/template/osf b/src/template/osf
new file mode 100644
index 00000000000..aa1a84317b5
--- /dev/null
+++ b/src/template/osf
@@ -0,0 +1,21 @@
+AROPT=crs
+
+# NOFIXADE disallows unaligned access.
+# on Ultrix and OSF/1 it invokes an explicit syscall.
+# on HP-UX it turns off certain compiler options.
+# This is defined here because a bunch of clients include tmp/c.h,
+# which is where the work is done on HP-UX. It only affects the
+# backend on Ultrix and OSF/1.
+
+if test "$GCC" = yes ; then
+ CFLAGS='-D__alpha__ -DNOFIXADE'
+ CCC=g++
+else
+ CFLAGS='-D__alpha__ -DNOFIXADE -std -O4 -Olimit 2000'
+ LDFLAGS='-rpath $(libdir)'
+ CCC=cxx
+ CXXFLAGS='-D__alpha__ -DNOFIXADE -O4 -Olimit 2000'
+fi
+
+DLSUFFIX=.so
+SHARED_LIB=