We include libgcc_tm.h to provide a prototype for this shim so add that to the make dependencies.
tested on x86_64-darwin, pushed to master, thanks Iain Signed-off-by: Iain Sandoe <i...@sandoe.co.uk> libgcc/ChangeLog: * config/t-darwin: Add libgcc_tm.h to the dependencies for darwin10-unwind-find-enc-func. --- libgcc/config/t-darwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/t-darwin b/libgcc/config/t-darwin index a855ecfd526..299d26c2c96 100644 --- a/libgcc/config/t-darwin +++ b/libgcc/config/t-darwin @@ -25,7 +25,7 @@ libemutls_w.a: emutls_s.o $(RANLIB_FOR_TARGET) $@ # Patch to __Unwind_Find_Enclosing_Function for Darwin10. -d10-uwfef.o: $(srcdir)/config/darwin10-unwind-find-enc-func.c +d10-uwfef.o: $(srcdir)/config/darwin10-unwind-find-enc-func.c libgcc_tm.h $(crt_compile) -mmacosx-version-min=10.6 -c $< # Using this crt as a library means that it will not be added to an exe -- 2.24.3 (Apple Git-128)