1*1debfc3dSmrg# This BUILD_CONFIG option tests that target libraries built during 2*1debfc3dSmrg# stage3 would have generated the same executable code if they were 3*1debfc3dSmrg# compiled with -g0. 4*1debfc3dSmrg 5*1debfc3dSmrg# It uses -g0 rather than -gtoggle because -g is default on target 6*1debfc3dSmrg# library builds, and toggling it where it's supposed to be disabled 7*1debfc3dSmrg# breaks e.g. crtstuff on ppc. 8*1debfc3dSmrg 9*1debfc3dSmrgSTAGE1_TFLAGS += -g0 -fcompare-debug= 10*1debfc3dSmrgSTAGE2_TFLAGS += -fcompare-debug= 11*1debfc3dSmrgSTAGE3_TFLAGS += -fcompare-debug=-g0 12*1debfc3dSmrgdo-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 13