aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-06-07 07:19:37 +0200
committerTristan Gingold <tgingold@free.fr>2015-06-07 07:19:37 +0200
commit20d187f21a8a7718e4f4942a7fcb072ebcbf4527 (patch)
treeb4d2369be30862e428f0d027414520080fc6820f /src/grt
parentec15f5cd21dc4c681ff23bc2d12c379fab2f17c7 (diff)
downloadghdl-20d187f21a8a7718e4f4942a7fcb072ebcbf4527.tar.gz
ghdl-20d187f21a8a7718e4f4942a7fcb072ebcbf4527.tar.bz2
ghdl-20d187f21a8a7718e4f4942a7fcb072ebcbf4527.zip
Initial support of DragonFly.
Diffstat (limited to 'src/grt')
-rw-r--r--src/grt/Makefile.inc2
-rw-r--r--src/grt/config/linux.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc
index eafa8aa9e..df368946f 100644
--- a/src/grt/Makefile.inc
+++ b/src/grt/Makefile.inc
@@ -66,7 +66,7 @@ ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),)
GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
ADAC=ada
endif
-ifeq ($(filter-out x86_64 freebsd%,$(arch) $(osys)),)
+ifeq ($(filter-out x86_64 freebsd% dragonfly%,$(arch) $(osys)),)
GRT_TARGET_OBJS=amd64.o linux.o times.o
GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
ADAC=ada
diff --git a/src/grt/config/linux.c b/src/grt/config/linux.c
index dd2a9d8ab..43139b8db 100644
--- a/src/grt/config/linux.c
+++ b/src/grt/config/linux.c
@@ -44,7 +44,7 @@
#define EXTEND_STACK 1
#define STACK_SIGNAL SIGSEGV
#endif
-#ifdef __FreeBSD__
+#if defined (__FreeBSD__) || defined (__DragonFly__)
/* If set, SIGSEGV is caught in order to automatically grow the stacks. */
#define EXTEND_STACK 1
#define STACK_SIGNAL SIGSEGV