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
This commit is contained in:
Bruce Momjian 1998-07-19 04:30:04 +00:00
parent 0624f3dcbd
commit cf21d71a14
2 changed files with 4 additions and 1 deletions

View File

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

View File

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