diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-05 18:53:09 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-05 18:53:09 +0000 |
| commit | 4cf7dae5164542b1094d523ffb771be12cf2b977 (patch) | |
| tree | 15d0e1bb0904d3340502869d0ec97d70c51a07bf /llvm | |
| parent | a6eebf6013172ec16192a9192fd0036014322a32 (diff) | |
| download | bcm5719-llvm-4cf7dae5164542b1094d523ffb771be12cf2b977.tar.gz bcm5719-llvm-4cf7dae5164542b1094d523ffb771be12cf2b977.zip | |
Fix a problem in the target detection for Debian GNU/kFreeBSD
llvm-svn: 154114
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/autoconf/configure.ac | 2 | ||||
| -rwxr-xr-x | llvm/configure | 2 | ||||
| -rw-r--r-- | llvm/projects/sample/autoconf/configure.ac | 4 | ||||
| -rwxr-xr-x | llvm/projects/sample/configure | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index a0e05667dcf..7f4b25e4c02 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -286,7 +286,7 @@ AC_CACHE_CHECK([type of operating system we're going to target], llvm_cv_target_os_type="Darwin" ;; *-*-minix*) llvm_cv_target_os_type="Minix" ;; - *-*-freebsd*) + *-*-freebsd* | *-*-kfreebsd-gnu) llvm_cv_target_os_type="FreeBSD" ;; *-*-openbsd*) llvm_cv_target_os_type="OpenBSD" ;; diff --git a/llvm/configure b/llvm/configure index 5c2d466774d..1e5e2c5998e 100755 --- a/llvm/configure +++ b/llvm/configure @@ -3802,7 +3802,7 @@ else llvm_cv_target_os_type="Darwin" ;; *-*-minix*) llvm_cv_target_os_type="Minix" ;; - *-*-freebsd*) + *-*-freebsd*| *-*-kfreebsd-gnu) llvm_cv_target_os_type="FreeBSD" ;; *-*-openbsd*) llvm_cv_target_os_type="OpenBSD" ;; diff --git a/llvm/projects/sample/autoconf/configure.ac b/llvm/projects/sample/autoconf/configure.ac index 6792f17d15a..a30cf96ecb9 100644 --- a/llvm/projects/sample/autoconf/configure.ac +++ b/llvm/projects/sample/autoconf/configure.ac @@ -132,7 +132,7 @@ 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="Minix" llvm_cv_platform_type="Unix" ;; - *-*-freebsd*) + *-*-freebsd* | *-*-kfreebsd-gnu) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="FreeBSD" @@ -222,7 +222,7 @@ AC_CACHE_CHECK([type of operating system we're going to target], llvm_cv_target_os_type="Darwin" ;; *-*-minix*) llvm_cv_target_os_type="Minix" ;; - *-*-freebsd*) + *-*-freebsd* | *-*-kfreebsd-gnu) llvm_cv_target_os_type="FreeBSD" ;; *-*-openbsd*) llvm_cv_target_os_type="OpenBSD" ;; diff --git a/llvm/projects/sample/configure b/llvm/projects/sample/configure index 48c0c2acb74..28fba4107e3 100755 --- a/llvm/projects/sample/configure +++ b/llvm/projects/sample/configure @@ -3646,7 +3646,7 @@ else llvm_cv_no_link_all_option="-Wl,-noall_load" llvm_cv_os_type="Minix" llvm_cv_platform_type="Unix" ;; - *-*-freebsd*) + *-*-freebsd* | *-*-kfreebsd-gnu) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="FreeBSD" @@ -3742,7 +3742,7 @@ else llvm_cv_target_os_type="Darwin" ;; *-*-minix*) llvm_cv_target_os_type="Minix" ;; - *-*-freebsd*) + *-*-freebsd* | *-*-kfreebsd-gnu) llvm_cv_target_os_type="FreeBSD" ;; *-*-openbsd*) llvm_cv_target_os_type="OpenBSD" ;; |

