summaryrefslogtreecommitdiff
path: root/src/template/osf
blob: aa1a84317b5f4199a3655cb002152011893e560e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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=