https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201445
Bug ID: 201445
Summary: bsd.prog.mk explicitly spams CFLAGS with -g if
MK_DEBUG_FILES!= no, but bsd.lib.mk doesn't
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
This is inconsistent/confusing. Either both bsd.lib.mk and bsd.prog.mk should
append -g to CFLAGS/CTFFLAGS, or neither should:
Sources based off r285261:
$ cd /usr/src
$ cd bin/cp
$ make __MAKE_CONF=/dev/null SRCCONF=/dev/null MK_DEBUG_FILES=yes -VCFLAGS:M-g
-g
$ cd ../../lib/libthr
$ make __MAKE_CONF=/dev/null SRCCONF=/dev/null MK_DEBUG_FILES=yes -VCFLAGS:M-g
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"