2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / config / bootstrap-debug-lib.mk
blob32fdf4dd86350e2c35005da347684d3406afb78d
1 # This BUILD_CONFIG option tests that target libraries built during
2 # stage3 would have generated the same executable code if they were
3 # compiled with -g0.
5 # It uses -g0 rather than -gtoggle because -g is default on target
6 # library builds, and toggling it where it's supposed to be disabled
7 # breaks e.g. crtstuff on ppc.
9 STAGE1_TFLAGS += -g0 -fcompare-debug=
10 STAGE2_TFLAGS += -fcompare-debug=
11 STAGE3_TFLAGS += -fcompare-debug=-g0
12 do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2