Tested on powerpc-apple-darwin9, and a cross from x86_64-darwin24 to
powerpc-apple-darwin9.  Pushed to trunk and gcc-16/15.
thanks,
Iain

--- 8< ---

r15-3802-gbdf41d627c13bc added a dependency on md-unwind-def.h to
unwind-dw2.h, which is included in unwind-dw2.c.  However the pre-
requisites in t-darwin-ehs were not updated.  Unfortunately, for
most normal builds (j >= 2) this gets hidden by satisfaction of
the dependency via an alterate path.

This fixes non-parallel builds.

        PR libgcc/123976

libgcc/ChangeLog:

        * config/t-darwin-ehs: Add md-unwind-def.h as a
        pre-requisite.

Signed-off-by: Iain Sandoe <[email protected]>
---
 libgcc/config/t-darwin-ehs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcc/config/t-darwin-ehs b/libgcc/config/t-darwin-ehs
index df46f8a6529..768678f2565 100644
--- a/libgcc/config/t-darwin-ehs
+++ b/libgcc/config/t-darwin-ehs
@@ -3,5 +3,5 @@
 
 LIBEHSOBJS = unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-c_s.o
 
-unwind-dw2_s.o: gthr-default.h md-unwind-support.h unwind.h
+unwind-dw2_s.o: gthr-default.h md-unwind-support.h md-unwind-def.h unwind.h
 $(LIBEHSOBJS): libgcc_tm.h
-- 
2.50.1 (Apple Git-155)

Reply via email to