diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-20 20:43:35 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-20 20:43:35 +0000 |
commit | 377170a3de24f1914303b50861c4077347ddecb9 (patch) | |
tree | d148a71316facd2d5847f79d28e263b72661cfbe /autoconf | |
parent | 9d7d2d7e4b4fb44e92d89b1e5b8186b82838a0e5 (diff) | |
download | external_llvm-377170a3de24f1914303b50861c4077347ddecb9.zip external_llvm-377170a3de24f1914303b50861c4077347ddecb9.tar.gz external_llvm-377170a3de24f1914303b50861c4077347ddecb9.tar.bz2 |
For PR808:
Add support for NetBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index adfd43f..ccbbffe 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -131,6 +131,11 @@ AC_CACHE_CHECK([type of operating system we're going to host on], llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="OpenBSD" llvm_cv_platform_type="Unix" ;; + *-*-netbsd*) + llvm_cv_link_all_option="-Wl,--whole-archive" + llvm_cv_no_link_all_option="-Wl,--no-whole-archive" + llvm_cv_os_type="NetBSD" + llvm_cv_platform_type="Unix" ;; *-*-hpux*) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" |