pkgsrc-Bugs archive

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

Re: pkg/48990: audio/pulseaudio build failure on netbsd-5/i386



The following reply was made to PR pkg/48990; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48990: audio/pulseaudio build failure on netbsd-5/i386
Date: Wed, 16 Jul 2014 15:51:35 +0200

 On Wed, Jul 16, 2014 at 01:35:00PM +0000, OBATA Akio wrote:
 > The following reply was made to PR pkg/48990; it has been noted by GNATS.
 > 
 > From: "OBATA Akio" <obata%lins.jp@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: pkg/48990: audio/pulseaudio build failure on netbsd-5/i386
 > Date: Wed, 16 Jul 2014 22:33:22 +0900
 > 
 >  On Wed, 16 Jul 2014 22:25:01 +0900, Joerg Sonnenberger 
 > <joerg%britannica.bec.de@localhost> wrote:
 >  
 >  >  >  .include "../../mk/bsd.prefs.mk"
 >  >  >  .if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386)
 >  >  >  GNU_ARCH.i386=          i486
 >  >  >  CFLAGS+=                -march=i486
 >  >  >  .endif
 >  > Note, this is not needed for NetBSD 6+, which defaults to i486.
 >  
 >  Note, NetBSD-5 removed support for 80386 level CPUs, so 5 also should 
 > default to i486.
 >  Same settings are in various packages, so it should be set globally.
 
 I meant: GCC uses the i486 instruction set on NetBSD 6 and newer by
 default. The above can override user settings, which should be avoided.
 I wonder if we should introduce mk/hacks.mk :)
 
 Joerg
 


Home | Main Index | Thread Index | Old Index