xref: /netbsd-src/external/gpl3/binutils.old/dist/config/bootstrap-debug.mk (revision 16dce51364ebe8aeafbae46bc5aa167b8115bc45)
1# This BUILD_CONFIG option builds checks that toggling debug
2# information generation doesn't affect the generated object code.
3
4# It is very lightweight: in addition to not performing any additional
5# compilation (unlike bootstrap-debug-lean), it actually speeds up
6# stage2, for no debug information is generated when compiling with
7# the unoptimized stage1.
8
9# For more thorough testing, see bootstrap-debug-lean.mk
10
11STAGE2_CFLAGS += -gtoggle
12do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
13