diff options
Diffstat (limited to 'tools/common/target_detect.h')
-rw-r--r-- | tools/common/target_detect.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/common/target_detect.h b/tools/common/target_detect.h index dda4bc31..ed5f9c00 100644 --- a/tools/common/target_detect.h +++ b/tools/common/target_detect.h @@ -14,6 +14,13 @@ # else # define DEFAULT_TARGET_NAME "x86-pc-windows-msvc" # endif +// Solaris/illumos +#elif defined(__sun__) +# if defined(__amd64__) +# define DEFAULT_TARGET_NAME "x86_64-pc-solaris2.11" +# else +# warning "Unable to detect a suitable default target (solaris)" +# endif // - Linux #elif defined(__linux__) # if defined(__amd64__) |