gcc/libphobos/configure.tgt
Maya Rashish 2f2b8e4054 Add netbsd support for D compiler and runtime
Merges upstream druntime fb4bda91.

2019-02-14  Maya Rashish  <coypu@sdf.org>

gcc/ChangeLog:

	* config.gcc (*-*-netbsd*): Add netbsd-d.o
	* config/netbsd-d.c: New file.
	* config/t-netbsd: Add netbsd-d.o

gcc/d/ChangeLog:

	* d-system.h: NetBSD is POSIX.

libphobos/ChangeLog:

	* configure.tgt: Add netbsd/x86 as supported target.

From-SVN: r268905
2019-02-14 21:25:39 +00:00

39 lines
1.3 KiB
Bash

# -*- shell-script -*-
# Copyright (C) 2018-2019 Free Software Foundation, Inc.
#
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# This is the target specific configuration file. This is invoked by the
# autoconf generated configure script. Putting it in a separate shell file
# lets us skip running autoconf when modifying target specific information.
# Disable the libphobos or libdruntime components on untested or known
# broken systems. More targets shall be added after testing.
case "${target}" in
arm*-*-linux*)
;;
mips*-*-linux*)
;;
x86_64-*-kfreebsd*-gnu | i?86-*-kfreebsd*-gnu)
;;
x86_64-*-linux* | i?86-*-linux*)
;;
x86_64-*-netbsd* | i?86-*-netbsd*)
;;
*)
UNSUPPORTED=1
;;
esac