summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex/test_regex.h
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-05-29 05:44:56 +0000
committerarybchik <arybchik@FreeBSD.org>2015-05-29 05:44:56 +0000
commitd46efc22146351599cd9294a2646ec8d41fe979d (patch)
treef3e66e3a52eff0182322c0126b8a349e35b99a7c /contrib/netbsd-tests/lib/libc/regex/test_regex.h
parent6c7b64f2db6789364fc45e59f52141640f57fad4 (diff)
downloadFreeBSD-src-d46efc22146351599cd9294a2646ec8d41fe979d.zip
FreeBSD-src-d46efc22146351599cd9294a2646ec8d41fe979d.tar.gz
sfxge: do not use DEBUG_FLAGS to enable extra debug checks
DEBUG_FLAGS are set to DEBUG option value when kernel is built. For example, it is -g in GENERIC config to have debug symbols. Also DEBUG_FLAGS are used to determine if ctfconvert should keep debug symbols. Since we redefined DEBUG_FLAGS, debug symbols were always missing. ctfconvert complains about it during kernel build. It is incorrect to append DEBUG_FLAGS, since if DEBUG has no -g (or similar), we'll have no debug symbols and ctfconvert will complain. If it incorrect to always have -g in our DEBUG_FLAGS, since debug symbols presence should be controllable by kernel config. So, just add disabled by default addition of -DDEBUG=1 to CFLAGS. Reviewed by: imp Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D2666
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/test_regex.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud