From e3f6f212fe25e2fdb757d6bbf27fd51d0c296e8d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 13 Dec 2014 07:44:49 +0100 Subject: Add support for NetBSD. --- src/grt/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/grt') diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc index 3bd6ac2..eafa8aa 100644 --- a/src/grt/Makefile.inc +++ b/src/grt/Makefile.inc @@ -53,6 +53,14 @@ ifeq ($(filter-out x86_64 linux,$(arch) $(osys)),) GRT_TARGET_OBJS=amd64.o linux.o times.o GRT_EXTRA_LIB=-ldl -lm $(GRT_ELF_OPTS) endif +ifeq ($(filter-out i%86 netbsd,$(arch) $(osys)),) + GRT_TARGET_OBJS=i386.o linux.o times.o + GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) +endif +ifeq ($(filter-out x86_64 netbsd,$(arch) $(osys)),) + GRT_TARGET_OBJS=amd64.o linux.o times.o + GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) +endif ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),) GRT_TARGET_OBJS=i386.o linux.o times.o GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) -- cgit