[Bug 114082] [make.conf] [patch] default CFLAGS have a blank at the end

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 1 19:07:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=114082

fernando.apesteguia at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fernando.apesteguia at gmail.c
                   |                            |om

--- Comment #8 from fernando.apesteguia at gmail.com ---
This PR seems to be fixed by now.

bsd.cpu.mk contains the following check:

if !defined(NO_CPU_CFLAGS)
CFLAGS += ${_CPUCFLAGS}
.endif

Testing with non-existent make.conf:

fernape at beastie:~$ cd /etc/
fernape at beastie:/etc$ ls make.conf.*
make.conf.bak  make.conf.mio
fernape at beastie:/etc$ make -dA -VCFLAGS | grep CPUCFLAGS
fernape at beastie:/etc$ make -dA -VCFLAGS | grep CFLAGS | grep Apply
Applying[.MAKEFLAGS] :M to " -d A -V CFLAGS"
Applying[CFLAGS] :M to "-O2 -pipe"
Applying[.MAKEFLAGS] :M to " -d A -V CFLAGS"
Applying[.MAKEFLAGS] :M to " -d A -V CFLAGS"
fernape at beastie:/etc$ uname -a
FreeBSD beastie 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40
UTC 2017     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
amd64
fernape at beastie:/etc$

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list