From: | Ian Spray <pgsql(at)borg(dot)minimal(dot)cx> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | FIX: NetBSD/cobalt now compiles 7.2.1 |
Date: | 2002-06-06 10:51:38 |
Message-ID: | 20020606115138.A11513@borg.minimal.cx |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Hi all,
I've been messing with NetBSD/cobalt 1.5.3, and have found that the template
file for NetBSD could be improved a little - without the following change
the system dies in s_lock.c because the opcodes are only available with the
-mips2 flag, and it's not correctly picked up for this platform.
The file src/template/netbsd should have three lines added (similar to the
current src/template/linux one), so the full file looks like this:
----
CFLAGS=-O2
case $host_cpu in
cobalt*) CFLAGS="$CFLAGS -mips2";;
esac
----
With this change made the standard 7.2.1 tarball compiled without a single
problem. I've yet to test speed and stability.
--
Ian Spray
From | Date | Subject | |
---|---|---|---|
Next Message | Nick Taylor | 2002-06-09 18:43:53 | redhat 6.2 |
Previous Message | Joshua b. Jore | 2002-06-04 14:21:51 | Re: [NOVICE] [PORTS] ecpg not found |