diff options
author | Maya Rashish <maya@netbsd.org> | 2018-03-26 11:55:31 +0300 |
---|---|---|
committer | Maya Rashish <maya@netbsd.org> | 2018-03-26 11:55:31 +0300 |
commit | 3c1d5f843df2a8e84808cd35b3a82695962c3bf8 (patch) | |
tree | 0f354f80ef2acd85da6407654d468e903872d65c /tools/minicargo/build.cpp | |
parent | e49cd3b71a5b5458ecd3f3937c04d1a35871a190 (diff) | |
download | mrust-3c1d5f843df2a8e84808cd35b3a82695962c3bf8.tar.gz |
netbsd/amd64 support
Diffstat (limited to 'tools/minicargo/build.cpp')
-rw-r--r-- | tools/minicargo/build.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/minicargo/build.cpp b/tools/minicargo/build.cpp index bde2b09d..5c5a8f25 100644 --- a/tools/minicargo/build.cpp +++ b/tools/minicargo/build.cpp @@ -51,6 +51,9 @@ extern int _putenv_s(const char*, const char*); # define HOST_TARGET "x86_64-windows-gnu" # else # endif +#elif defined(__NetBSD__) +# define EXESUF "" +# define HOST_TARGET "x86_64-unknown-netbsd" #else # define EXESUF "" # define HOST_TARGET "x86_64-unknown-linux-gnu" |