Date: Thu, 09 Jul 2015 21:57:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201445] bsd.prog.mk explicitly spams CFLAGS with -g if MK_DEBUG_FILES!= no, but bsd.lib.mk doesn't Message-ID: <bug-201445-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: freebsd-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201445-8>