summaryrefslogtreecommitdiff
path: root/src/Make.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Make.inc')
-rw-r--r--src/Make.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Make.inc b/src/Make.inc
index c770b7632..7b4ccd0ae 100644
--- a/src/Make.inc
+++ b/src/Make.inc
@@ -33,6 +33,7 @@ GOOS_LIST=\
darwin\
freebsd\
linux\
+ netbsd\
openbsd\
plan9\
windows\
@@ -138,6 +139,9 @@ endif
ifeq ($(GOOS),openbsd) # ... and not on OpenBSD
CGO_ENABLED:=0
endif
+ifeq ($(GOOS),netbsd) # ... and not on NetBSD
+CGO_ENABLED:=0
+endif
endif
# Make environment more standard.