diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-09 20:45:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-09 20:45:04 +0000 |
commit | 21aa347c2816aa8fc635ad05c5ab786234b32c7e (patch) | |
tree | 31267a53e38be19682f5395c271d5191c9e2766f /autoconf/configure.ac | |
parent | 2ebad5ad41bd4630b0ee5ec5bb2594f30557a351 (diff) | |
download | external_llvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.zip external_llvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.tar.gz external_llvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.tar.bz2 |
add minix support, patch by Kees van Reeuwijk! PR6797
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 04c0886..bd85577 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -159,6 +159,11 @@ AC_CACHE_CHECK([type of operating system we're going to host on], llvm_cv_no_link_all_option="-Wl,-noall_load" llvm_cv_os_type="Darwin" llvm_cv_platform_type="Unix" ;; + *-*-minix*) + llvm_cv_link_all_option="-Wl,-all_load" + llvm_cv_no_link_all_option="-Wl,-noall_load" + llvm_cv_os_type="Minix" + llvm_cv_platform_type="Unix" ;; *-*-freebsd*) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" @@ -247,6 +252,8 @@ AC_CACHE_CHECK([type of operating system we're going to target], llvm_cv_target_os_type="Cygwin" ;; *-*-darwin*) llvm_cv_target_os_type="Darwin" ;; + *-*-minix*) + llvm_cv_target_os_type="Minix" ;; *-*-freebsd*) llvm_cv_target_os_type="FreeBSD" ;; *-*-openbsd*) |