kern/63897: makeoptions CONF_CFLAGS are ignored when building modules

Radim Kolar hsn at netmag.cz
Sun Mar 7 13:30:13 PST 2004


>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 at 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:


More information about the freebsd-bugs mailing list