PR target/46608
[official-gcc.git] / config / bootstrap-debug.mk
blob41389241c0541cb5230e7b46e0f8a61e18d0bee2
1 # This BUILD_CONFIG option builds checks that toggling debug
2 # information generation doesn't affect the generated object code.
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.
9 # For more thorough testing, see bootstrap-debug-lean.mk
11 STAGE2_CFLAGS += -gtoggle
12 do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2