From owner-freebsd-current Fri Mar 14 18:55: 6 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87EBA37B401 for ; Fri, 14 Mar 2003 18:55:05 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51FD243F75 for ; Fri, 14 Mar 2003 18:55:01 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.8/8.12.7) with ESMTP id h2F2sugF029439; Fri, 14 Mar 2003 18:54:56 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.8/8.12.8/Submit) id h2F2suXE029438; Fri, 14 Mar 2003 18:54:56 -0800 (PST) Date: Fri, 14 Mar 2003 18:54:56 -0800 From: Steve Kargl To: Wesley Morgan Cc: current@FreeBSD.ORG Subject: Re: modules vs kernel CFLAGS Message-ID: <20030315025456.GA29426@troutmask.apl.washington.edu> References: <20030314200902.R33036@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030314200902.R33036@volatile.chemikals.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 14, 2003 at 08:10:34PM -0500, Wesley Morgan wrote: > I just noted that my kernel modules seem to be building with CFLAGS > instead of COPTFLAGS as I would expect. Is this intentional? I always > build my kernel with more "safe" optimization, and figured that the > modules would naturally inherit the same. > It has been this way for a long time. If you have a P4 and you set CPUTYPE, you definitely can be screwed. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message