aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-11-28 16:55:53 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2020-11-30 11:45:15 +0100
commite855b30c28391b190eebb8e6afc8d2116a6d85de (patch)
tree663581c0c509106a269bd72c78382709db2efd12 /gcc/config.gcc
parentdee11eb742484daa9efae64a4a2d62ebc751ca27 (diff)
downloadgcc-e855b30c28391b190eebb8e6afc8d2116a6d85de.zip
gcc-e855b30c28391b190eebb8e6afc8d2116a6d85de.tar.gz
gcc-e855b30c28391b190eebb8e6afc8d2116a6d85de.tar.bz2
d: Add freebsd support for D compiler and runtime
gcc/ChangeLog: PR d/87818 * config.gcc (*-*-freebsd*): Add freebsd-d.o and t-freebsd. * config/freebsd-d.c: New file. * config/t-freebsd: New file. libphobos/ChangeLog: PR d/87818 * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as supported targets.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 6f1ee62..c348596 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -784,6 +784,9 @@ case ${target} in
default_use_cxa_atexit=yes;;
esac
use_gcc_stdint=wrap
+ d_target_objs="${d_target_objs} freebsd-d.o"
+ tmake_file="${tmake_file} t-freebsd"
+ target_has_targetdm=yes
;;
*-*-fuchsia*)
native_system_header_dir=/include