Home | History | Annotate | Download | only in config
      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.
      4 
      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.
      8 
      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
     13