aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-10-15 17:23:08 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-10-15 17:26:53 +0100
commita01704fc45a727fbfc4999983b3e8886c0f86fed (patch)
tree08e310417882f105ca25a32b347ec21802264465 /gcc/config.gcc
parent93ac832f1846e4867aa6537f76f510fab8e3e87d (diff)
downloadgcc-a01704fc45a727fbfc4999983b3e8886c0f86fed.zip
gcc-a01704fc45a727fbfc4999983b3e8886c0f86fed.tar.gz
gcc-a01704fc45a727fbfc4999983b3e8886c0f86fed.tar.bz2
Darwin, D: Fix D bootstrap, include tm-dwarf2.h.
After r12-4432-g7bfe7d634f60b0a9 Darwin fails to bootstrap with D enabled since there is no definition of either DWARF2_DEBUG_INFO or PREFERRED_DEBUGGING_TYPE. Fixed here by adding the tm-dwarf2.h file to tm_d_file for Darwin. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/ChangeLog: * config.gcc: Add tm-dwarf2.h to tm_d-file.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index aa5bd5d..3675e06 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -666,6 +666,7 @@ case ${target} in
*-*-darwin*)
tmake_file="t-darwin "
tm_file="${tm_file} darwin.h"
+ tm_d_file="${tm_d_file} tm-dwarf2.h"
darwin_os=`echo ${target} | sed 's/.*darwin\([0-9.]*\).*$/\1/'`
darwin_maj=`expr "$darwin_os" : '\([0-9]*\).*'`
macos_min=`expr "$darwin_os" : '[0-9]*\.\([0-9]*\).*'`