summaryrefslogtreecommitdiff
path: root/tools/minicargo/manifest.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 /tools/minicargo/manifest.cpp
parent0da1f0906af07aeda31c17ca9c6cfaae837a74c4 (diff)
parent3c1d5f843df2a8e84808cd35b3a82695962c3bf8 (diff)
downloadmrust-cb4f7855057ade06cceec236774ed59aa03f67ba.tar.gz
Merge pull request #68 from coypoop/netbsd
netbsd/amd64 support
Diffstat (limited to 'tools/minicargo/manifest.cpp')
-rw-r--r--tools/minicargo/manifest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/minicargo/manifest.cpp b/tools/minicargo/manifest.cpp
index 3cb59113..6e2bf451 100644
--- a/tools/minicargo/manifest.cpp
+++ b/tools/minicargo/manifest.cpp
@@ -14,6 +14,10 @@
# define TARGET_NAME "i586-windows-msvc"
# define CFG_UNIX false
# define CFG_WINDOWS true
+#elif defined(__NetBSD__)
+# define TARGET_NAME "x86_64-unknown-netbsd"
+# define CFG_UNIX true
+# define CFG_WINDOWS false
#else
# define TARGET_NAME "x86_64-unknown-linux-gnu"
# define CFG_UNIX true