diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-11-06 15:08:46 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2018-11-06 15:08:46 +0000 |
commit | cdb3f2f4314f5cd72927eb7f620e1df14e1da574 (patch) | |
tree | be1ad2eca3c953039e51178dec64956bf58b03db /gcc/config.gcc | |
parent | f8d69798fd096ab6fca98ab189f31b31cb004502 (diff) | |
download | gcc-cdb3f2f4314f5cd72927eb7f620e1df14e1da574.zip gcc-cdb3f2f4314f5cd72927eb7f620e1df14e1da574.tar.gz gcc-cdb3f2f4314f5cd72927eb7f620e1df14e1da574.tar.bz2 |
Fix D compilation on Solaris
* config/default-d.c: Include memmodel.h.
* config/sol2-d.c: New file.
* config/t-sol2 (sol2-d.o): New rule.
* config.gcc <*-*-solaris2*>: Set d_target_objs,
target_has_targetdm.
From-SVN: r265846
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 5e5c328..284f7d1 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -917,6 +917,7 @@ case ${target} in tmake_file="${tmake_file} t-sol2 t-slibgcc" c_target_objs="${c_target_objs} sol2-c.o" cxx_target_objs="${cxx_target_objs} sol2-c.o sol2-cxx.o" + d_target_objs="${d_target_objs} sol2-d.o" extra_objs="${extra_objs} sol2.o sol2-stubs.o" extra_options="${extra_options} sol2.opt" case ${enable_threads}:${have_pthread_h}:${have_thread_h} in @@ -924,6 +925,7 @@ case ${target} in thread_file=posix ;; esac + target_has_targetdm=yes ;; *-*-*vms*) extra_options="${extra_options} vms/vms.opt" |