From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 8 00:25:56 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id AE8AA106566B; Tue, 8 Nov 2011 00:25:56 +0000 (UTC) Date: Tue, 8 Nov 2011 00:25:56 +0000 From: Alexander Best To: freebsd-toolchain@freebsd.org Message-ID: <20111108002556.GA91218@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: CPUTYPE=native handling X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 00:25:56 -0000 hi there, i've seen dozens of issues, where people set CPUTYPE=native. although this works in a lot of cases, it doesn't in others. why don't we simply add something like . if ${CPUTYPE} == "native" . error "bla" . endif in share/mk/bsd.cpu.mk for now? or at least for the archs, where "native" is known to cause problems. cheers. alex