summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge (Mutabah) <acessdev@gmail.com>2018-03-28 08:17:31 +0800
committerGitHub <noreply@github.com>2018-03-28 08:17:31 +0800
commitcb4f7855057ade06cceec236774ed59aa03f67ba (patch)
tree7acde6aa6d37ebe70e163482bbfb4b0fe111e19d /src/main.cpp
parent0da1f0906af07aeda31c17ca9c6cfaae837a74c4 (diff)
parent3c1d5f843df2a8e84808cd35b3a82695962c3bf8 (diff)
downloadmrust-cb4f7855057ade06cceec236774ed59aa03f67ba.tar.gz
Merge pull request #68 from coypoop/netbsd
netbsd/amd64 support
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c63ce0d6..369c80de 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -52,6 +52,10 @@
# else
# define DEFAULT_TARGET_NAME "i586-windows-gnu"
# endif
+#elif defined(__NetBSD__)
+# if defined(__amd64__)
+# define DEFAULT_TARGET_NAME "x86_64-unknown-netbsd"
+# endif
#elif defined(__OpenBSD__)
# if defined(__amd64__)
# define DEFAULT_TARGET_NAME "x86_64-unknown-openbsd"