1214518Srpaulo# This BUILD_CONFIG option tests that target libraries built during 2190214Srpaulo# stage3 would have generated the same executable code if they were 3190214Srpaulo# compiled with -g0. 4190214Srpaulo 5190214Srpaulo# It uses -g0 rather than -gtoggle because -g is default on target 6190214Srpaulo# library builds, and toggling it where it's supposed to be disabled 7190214Srpaulo# breaks e.g. crtstuff on ppc. 8190214Srpaulo 9190214SrpauloSTAGE1_TFLAGS += -g0 -fcompare-debug= 10190214SrpauloSTAGE2_TFLAGS += -fcompare-debug= 11190214SrpauloSTAGE3_TFLAGS += -fcompare-debug=-g0 12190214Srpaulodo-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 13190214Srpaulo