summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian1998-07-19 04:30:04 +0000
committerBruce Momjian1998-07-19 04:30:04 +0000
commitcf21d71a140704ac25e1171d7f071e2359c67aee (patch)
tree07903b7aa0ceaa3639ea98013f917ef5a071cd4e
parent0624f3dcbd990bc9cf9b2e9740cdd68de72227c9 (diff)
Attached are the three patches that were needed to get PostgreSQL
6.3.2 to compile (and run) on my Sparc Solaris 2.5.1 box. Details below: pgsql.sparc.patch-template: Adds -D__sparc__ and -D__sun__, defintions which gcc does define, but Sun's cc does not. :( pgsql.sparc.patch-makefile: Adds a define so that 'lorder' is not used, as it is not found on my machine. Ryan Kirkpatrick
-rw-r--r--src/makefiles/Makefile.solaris_sparc3
-rw-r--r--src/template/solaris_sparc_cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.solaris_sparc b/src/makefiles/Makefile.solaris_sparc
index b67d7ed5e2..e3adfe3d15 100644
--- a/src/makefiles/Makefile.solaris_sparc
+++ b/src/makefiles/Makefile.solaris_sparc
@@ -1,2 +1,5 @@
%.so: %.o
$(LD) -G -Bdynamic -o $@ $<
+
+MK_NO_LORDER=true
+
diff --git a/src/template/solaris_sparc_cc b/src/template/solaris_sparc_cc
index 1b68896051..e805a809e7 100644
--- a/src/template/solaris_sparc_cc
+++ b/src/template/solaris_sparc_cc
@@ -1,5 +1,5 @@
AROPT:crs
-CFLAGS:-Xa -v
+CFLAGS:-Xa -v -D__sparc__ -D__sun__
SHARED_LIB:-K PIC
ALL:
SRCH_INC: