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