Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 23:52:34 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: Per-arch CFLAGS
Message-ID:  <20140316065234.AB42D58097@chaos.jnpr.net>
In-Reply-To: <1394893695.1149.553.camel@revolution.hippie.lan>

index | next in thread | previous in thread | raw e-mail


On Sat, 15 Mar 2014 08:28:15 -0600, Ian Lepore writes:
>After consulting with Warner a bit I came up with the attached rather
>simple change that does the job perfectly.  It adds support for a
>CFLAGS.arch variable that can be set in make.conf or the command line or
>environment.  Any objections to this?

No, looks fine.
FWIW we do much the same in the Junos build, but ${MACHINE} rather
than ${MACHINE_ARCH} both have their uses in fact.
Esp since we use the pseudo machine "host" to represent the build host
(for host tools etc).



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140316065234.AB42D58097>