Date: Sat, 06 Mar 2004 19:26:49 +0100 From: Radim Kolar <hsn@netmag.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/63897: makeoptions CONF_CFLAGS are ignored when building modules Message-ID: <E1AzgVd-00030R-6d@asura.bsd> Resent-Message-ID: <200403072130.i27LUCSR097460@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63897 >Category: kern >Synopsis: makeoptions CONF_CFLAGS are ignored when building 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: Sun Mar 07 13:30:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD asura.bsd 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 6 17:47:01 CET 2004 root@asura.bsd:/usr/src/sys/i386/compile/UP i386 >Description: kernel config file allows to specify special building options by directive makeoptions. I have in kernel config file: makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols makeoptions CONF_CFLAGS="-O2 -fomit-frame-pointer -fexpensive-optimizations -march=i686" I have noticed that when building modules (kernel build is okay) CONF_CFLAGS are not used. -g option IS used. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AzgVd-00030R-6d>