diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-10-29 14:07:02 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-11-18 10:22:06 +0100 |
commit | fa9091ad93b2ec6f2580e9f9c7de799fa404cf2e (patch) | |
tree | fe40c26ec9368c286f82a4720a50d20659189b41 /libphobos | |
parent | 4c4dfe21df4c4147d9c676a8c768cc303491293e (diff) | |
download | gcc-fa9091ad93b2ec6f2580e9f9c7de799fa404cf2e.zip gcc-fa9091ad93b2ec6f2580e9f9c7de799fa404cf2e.tar.gz gcc-fa9091ad93b2ec6f2580e9f9c7de799fa404cf2e.tar.bz2 |
d: Add dragonflybsd support for D compiler and runtime
gcc/ChangeLog:
* config.gcc (*-*-dragonfly*): Add dragonfly-d.o and t-dragonfly.
* config/dragonfly-d.c: New file.
* config/t-dragonfly: New file.
libphobos/ChangeLog:
* configure.tgt: Add *-*-dragonfly* as a supported target.
* configure: Regenerate.
* m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
target.
Diffstat (limited to 'libphobos')
-rwxr-xr-x | libphobos/configure | 2 | ||||
-rw-r--r-- | libphobos/configure.tgt | 3 | ||||
-rw-r--r-- | libphobos/m4/druntime/os.m4 | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/libphobos/configure b/libphobos/configure index de6d367..6d8461f 100755 --- a/libphobos/configure +++ b/libphobos/configure @@ -14283,7 +14283,7 @@ fi druntime_target_posix="no" case "$druntime_cv_target_os" in - aix*|*bsd*|cygwin*|darwin*|gnu*|linux*|skyos*|*solaris*|sysv*) + aix*|*bsd*|cygwin*|darwin*|dragonfly*|gnu*|linux*|skyos*|*solaris*|sysv*) druntime_target_posix="yes" ;; esac diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 94e42bf..1ea9e0c 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -24,6 +24,9 @@ LIBPHOBOS_SUPPORTED=no LIBDRUNTIME_ONLY=auto case "${target}" in + *-*-dragonfly*) + LIBPHOBOS_SUPPORTED=yes + ;; aarch64*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; diff --git a/libphobos/m4/druntime/os.m4 b/libphobos/m4/druntime/os.m4 index 47d4c6a..ed93e30 100644 --- a/libphobos/m4/druntime/os.m4 +++ b/libphobos/m4/druntime/os.m4 @@ -112,7 +112,7 @@ AC_DEFUN([DRUNTIME_OS_SOURCES], druntime_target_posix="no" case "$druntime_cv_target_os" in - aix*|*bsd*|cygwin*|darwin*|gnu*|linux*|skyos*|*solaris*|sysv*) + aix*|*bsd*|cygwin*|darwin*|dragonfly*|gnu*|linux*|skyos*|*solaris*|sysv*) druntime_target_posix="yes" ;; esac |