summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.solaris
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
commitf8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch)
treeb8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /src/makefiles/Makefile.solaris
parent0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff)
downloadpostgresql-f8ff1ee5aab125fc1e5e130e6055a0e6586ce440.tar.gz
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/makefiles/Makefile.solaris')
-rw-r--r--src/makefiles/Makefile.solaris11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.solaris b/src/makefiles/Makefile.solaris
index 19ef50188b..8c08f79e03 100644
--- a/src/makefiles/Makefile.solaris
+++ b/src/makefiles/Makefile.solaris
@@ -1,8 +1,17 @@
-# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.2 2000/10/20 23:57:34 petere Exp $
+# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.3 2000/10/21 22:36:13 petere Exp $
+
+AROPT = crs
ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
endif
+DLSUFFIX = .so
+ifeq ($(GCC), yes)
+CFLAGS_SL = -fPIC
+else
+CFLAGS_SL = -KPIC
+endif
+
%.so: %.o
$(LD) -G -Bdynamic -o $@ $<