8139e6cefc
in bsd.lib.mk there's a check for "MKDEBUG != no" that will add -g to CFLAGS (maybe) and to CSHLIBFLAGS (always), given that it isn't in CFLAGS already.. except the conditional is "||" instead of "&&" and since the MKDEBUG/NODEBUG checks pass, the CFLAGS check isn't even performed. additionally, check CXXFLAGS as well as CFLAGS. this fixes the attempt to use "-g1" in the llvmrt build, which fails because the compile lines end up being "... -g1 .. -g ..", (the "-g" comes from the CSHLIBFLAGS variable in that case.) this reduces the size of llvm-enabled gallium debug by ~1.5GiB on amd64. |
||
---|---|---|
.. | ||
dict | ||
doc | ||
examples | ||
i18n | ||
installboot | ||
legal | ||
locale | ||
man | ||
me | ||
misc | ||
mk | ||
nls | ||
tabset | ||
terminfo | ||
tmac | ||
wscons | ||
xml | ||
Makefile | ||
Makefile.inc |