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