OSDN Git Service

Attached are the three patches that were needed to get PostgreSQL
authorBruce Momjian <bruce@momjian.us>
Sun, 19 Jul 1998 04:30:04 +0000 (04:30 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 19 Jul 1998 04:30:04 +0000 (04:30 +0000)
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

src/makefiles/Makefile.solaris_sparc
src/template/solaris_sparc_cc

index b67d7ed..e3adfe3 100644 (file)
@@ -1,2 +1,5 @@
 %.so: %.o
        $(LD) -G -Bdynamic -o $@ $<
+
+MK_NO_LORDER=true
+
index 1b68896..e805a80 100644 (file)
@@ -1,5 +1,5 @@
 AROPT:crs
-CFLAGS:-Xa -v
+CFLAGS:-Xa -v -D__sparc__ -D__sun__
 SHARED_LIB:-K PIC
 ALL:
 SRCH_INC: