Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Link errors building netbsd-8 for SPARC

On Fri, Feb 08, 2019 at 07:28:40PM -0800, Chris Hanson wrote:
> I have
>   COPTS+=-pipe
>   CFLAGS+=-pipe
> in my /etc/mk.conf. I?ll comment those out and try again.

Here is what I do instead:

.if ! defined(_ETC_MK_PIPE_DONE)
CFLAGS += -pipe
.if ${MACHINE} == "sparc"
CPUFLAGS+= -mcpu=supersparc -mtune=supersparc


Home | Main Index | Thread Index | Old Index