bootstrap-debug-lib.mk 499 B

123456789101112
  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. # It uses -g0 rather than -gtoggle because -g is default on target
  5. # library builds, and toggling it where it's supposed to be disabled
  6. # breaks e.g. crtstuff on ppc.
  7. STAGE1_TFLAGS += -g0 -fcompare-debug=
  8. STAGE2_TFLAGS += -fcompare-debug=
  9. STAGE3_TFLAGS += -fcompare-debug=-g0
  10. do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2