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
pull/50/head
Bruce Momjian 27 years ago
parent 0624f3dcbd
commit cf21d71a14
  1. 3
      src/makefiles/Makefile.solaris_sparc
  2. 2
      src/template/solaris_sparc_cc

@ -1,2 +1,5 @@
%.so: %.o %.so: %.o
$(LD) -G -Bdynamic -o $@ $< $(LD) -G -Bdynamic -o $@ $<
MK_NO_LORDER=true

@ -1,5 +1,5 @@
AROPT:crs AROPT:crs
CFLAGS:-Xa -v CFLAGS:-Xa -v -D__sparc__ -D__sun__
SHARED_LIB:-K PIC SHARED_LIB:-K PIC
ALL: ALL:
SRCH_INC: SRCH_INC:

Loading…
Cancel
Save