Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD-7 build issues with earmv7hf
On Sun, 10 Jul 2016 09:20:14 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:
> On Sat, Jul 09, 2016 at 10:15:33PM +0100, Sad Clouds wrote:
> > COPTS+=-pipe
> >
> > Removing the option, resolved this particular error. Is this a bug
> > then?
>
> Strange (and not sure whether it is to be considered a bug). Guess
> something mathches default COPTS verbatim somewhere; so most likely a
> bug.
>
> I have been doing:
>
> .if ! ${CFLAGS:M-pipe}
> CFLAGS+= -pipe
> .endif
>
> instead.
>
> Martin
From mk.conf(5) there is warning that CFLAGS should never be set in
mk.conf
COPTS Extra options for the C compiler. Should be
appended to (e.g., COPTS+=-g), rather than explicitly set. Note that
CPUFLAGS, not COPTS, should be used for compiler flags that select
CPU-related options. Also note that CFLAGS should never be set in
mk.conf.
Home |
Main Index |
Thread Index |
Old Index