forked from OSchip/llvm-project
Fix a problem in the target detection for Debian GNU/kFreeBSD
llvm-svn: 154114
This commit is contained in:
parent
a6eebf6013
commit
4cf7dae516
|
@ -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" ;;
|
||||
|
|
|
@ -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" ;;
|
||||
|
|
|
@ -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" ;;
|
||||
|
|
|
@ -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" ;;
|
||||
|
|
Loading…
Reference in New Issue