From bec11673c4349fb330d08f1147657aa7a49ce389 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 11 Dec 2020 00:34:39 +0000 Subject: [PATCH] Darwin, D : Add .d suffix to the list for invoking dsymutil. Recognise .d for D source files on the command line. This will trigger an invocation of dsymutil when a D source is present. gcc/ChangeLog: * config/darwin.h (DSYMUTIL_SPEC): Recognize D sources. --- gcc/config/darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 50524a515113..0fa1c572bc9a 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -251,7 +251,7 @@ extern GTY(()) int darwin_ms_struct; %{v} \ %{g*:%{!gctf:%{!gbtf:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}}}\ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\ - .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ + .f95|.f03|.f77|.for|.F|.F90|.F95|.F03|.d: \ %{g*:%{!gctf:%{!gbtf:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}}}" #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC -- 2.47.2