From owner-freebsd-alpha Sun Oct 28 10:18:19 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 06C6937B408; Sun, 28 Oct 2001 10:18:15 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA08231; Mon, 29 Oct 2001 05:18:08 +1100 Date: Mon, 29 Oct 2001 05:17:09 +1100 (EST) From: Bruce Evans X-X-Sender: To: Ruslan Ermilov Cc: Andrew Gallatin , Bruce Evans , , Matthew Jacob Subject: Re: Makefile.inc1 clobbers CFLAGS (was: Re: cvs commit: src Makefile.inc1) In-Reply-To: <20011027202726.A61277@sunbay.com> Message-ID: <20011029045531.R5004-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 27 Oct 2001, Ruslan Ermilov wrote: > On Thu, Oct 25, 2001 at 10:36:58AM -0400, Andrew Gallatin wrote: > > > > Andrew Gallatin writes: > > > > > > Building now. One more question I have CPUTYPE=ev56 > > > in /etc/make.conf -- will the crossbuild see this, potentially > > > confusing the x86 gcc? > > > > Yes, it will.. : > > > > cc1: bad value (ev56) for -mcpu= switch > > > > Removing ev56 & restarting... > > > This is because Makefile.inc1 sets CFLAGS="-nostdinc ${CFLAGS}" in > CROSSENV, and that imports currently effective (for host architecture) > CFLAGS. This is bogus. The attached patch should fix it. Please > test. The problem referred to in rev.105 (that setting CFLAGS in Makefile.inc1 doesn't always work because it may be clobbered by the setting in /etc/make.conf) is still there. > Bruce, what do you think about bringing COPTFLAGS in userland, > and adding CINCLUDES? I think new names in the "application namespace" shouldn't be used in sys.mk. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message