forked from OSchip/llvm-project
Fix a problem in the target detection for Debian GNU/HURD
llvm-svn: 154117
This commit is contained in:
parent
26f19678b6
commit
e8235fef31
|
@ -300,6 +300,8 @@ AC_CACHE_CHECK([type of operating system we're going to target],
|
|||
llvm_cv_target_os_type="Interix" ;;
|
||||
*-*-linux*)
|
||||
llvm_cv_target_os_type="Linux" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_target_os_type="GNU" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_target_os_type="SunOS" ;;
|
||||
*-*-auroraux*)
|
||||
|
|
|
@ -3816,6 +3816,8 @@ else
|
|||
llvm_cv_target_os_type="Interix" ;;
|
||||
*-*-linux*)
|
||||
llvm_cv_target_os_type="Linux" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_target_os_type="GNU" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_target_os_type="SunOS" ;;
|
||||
*-*-auroraux*)
|
||||
|
|
|
@ -167,6 +167,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="Linux"
|
||||
llvm_cv_platform_type="Unix" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_link_all_option="-Wl,--whole-archive"
|
||||
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
|
||||
llvm_cv_os_type="GNU"
|
||||
llvm_cv_platform_type="Unix" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_link_all_option="-Wl,-z,allextract"
|
||||
llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
|
||||
|
@ -236,6 +241,8 @@ AC_CACHE_CHECK([type of operating system we're going to target],
|
|||
llvm_cv_target_os_type="Interix" ;;
|
||||
*-*-linux*)
|
||||
llvm_cv_target_os_type="Linux" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_target_os_type="GNU" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_target_os_type="SunOS" ;;
|
||||
*-*-auroraux*)
|
||||
|
|
|
@ -3681,6 +3681,11 @@ else
|
|||
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
|
||||
llvm_cv_os_type="Linux"
|
||||
llvm_cv_platform_type="Unix" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_link_all_option="-Wl,--whole-archive"
|
||||
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
|
||||
llvm_cv_os_type="GNU"
|
||||
llvm_cv_platform_type="Unix" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_link_all_option="-Wl,-z,allextract"
|
||||
llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
|
||||
|
@ -3756,6 +3761,8 @@ else
|
|||
llvm_cv_target_os_type="Interix" ;;
|
||||
*-*-linux*)
|
||||
llvm_cv_target_os_type="Linux" ;;
|
||||
*-*-gnu*)
|
||||
llvm_cv_target_os_type="GNU" ;;
|
||||
*-*-solaris*)
|
||||
llvm_cv_target_os_type="SunOS" ;;
|
||||
*-*-auroraux*)
|
||||
|
|
Loading…
Reference in New Issue