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