From nobody@FreeBSD.org  Thu May 22 11:40:57 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 37EDD298
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 11:40:57 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0BD1728A0
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 11:40:57 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4MBeuas060074
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 11:40:56 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4MBeuBN060073;
	Thu, 22 May 2014 11:40:56 GMT
	(envelope-from nobody)
Message-Id: <201405221140.s4MBeuBN060073@cgiserv.freebsd.org>
Date: Thu, 22 May 2014 11:40:56 GMT
From: RK <hsn@sendmail.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: makeoptions  COPTFLAGS= is not used for kernel modules
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190103
>Category:       kern
>Synopsis:       [build] makeoptions COPTFLAGS= is not used for kernel modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 22 11:50:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Thu May 22 21:24:25 UTC 2014
>Originator:     RK
>Release:        10-STABLE
>Organization:
>Environment:
>Description:
"makeoptions     COPTFLAGS=-O0" in kernel config is not used for building kernel modules. It should be because modules are part of kernel too.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Radim Kolar <hsn@sendmail.cz>
To: "bug-followup@freebsd.org" <bug-followup@freebsd.org>
Cc:  
Subject: RE: kern/190103: makeoptions  COPTFLAGS= is not used for kernel
 modules
Date: Thu, 22 May 2014 14:35:37 +0000

  	<201405221140.s4MBeuBN060073@cgiserv.freebsd.org>,<201405221150.s4MBo17r054171@freefall.freebsd.org>
 MIME-Version: 1.0
 
 --_2f90b0e9-a5e1-4378-92c8-fe37d66b6a64_
 Content-Type: text/plain; charset="iso-8859-2"
 Content-Transfer-Encoding: quoted-printable
 
 i found that "makeoptions     DEBUG=3D"-g -O0" passes options to both kernel and modules.
 
 --_2f90b0e9-a5e1-4378-92c8-fe37d66b6a64_--
>Unformatted:
