diff options
| author | Peter Eisentraut | 2000-10-21 22:36:14 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-10-21 22:36:14 +0000 |
| commit | f8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch) | |
| tree | b8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /src/template/osf | |
| parent | 0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff) | |
Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
Makefile.port, since they are of no use to configure and much of the
library magic happens in Makefile.port anyway.
Use __alpha, not __alpha__, since the former is universally available.
Remove -DNOFIXADE from the compile command line and put it in the port
include file.
Diffstat (limited to 'src/template/osf')
| -rw-r--r-- | src/template/osf | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/template/osf b/src/template/osf index aa1a84317b5..f41a0557d60 100644 --- a/src/template/osf +++ b/src/template/osf @@ -1,21 +1,9 @@ -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' + CFLAGS= CCC=g++ else - CFLAGS='-D__alpha__ -DNOFIXADE -std -O4 -Olimit 2000' - LDFLAGS='-rpath $(libdir)' + CC="$CC -std" + CFLAGS='-O4 -Olimit 2000' CCC=cxx - CXXFLAGS='-D__alpha__ -DNOFIXADE -O4 -Olimit 2000' + CXXFLAGS='-O4 -Olimit 2000' fi - -DLSUFFIX=.so -SHARED_LIB= |
