diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-22 14:01:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-22 14:01:18 +0000 |
commit | f613919fea56ffb52e23d456bef87c00a3dcf01d (patch) | |
tree | 7f0d455ad75343626a393aeaa6ad6389f1f30706 /configure | |
parent | 51f40a725b4d0bb9ee7a59edc3d2b2392ae9e852 (diff) | |
download | external_llvm-f613919fea56ffb52e23d456bef87c00a3dcf01d.zip external_llvm-f613919fea56ffb52e23d456bef87c00a3dcf01d.tar.gz external_llvm-f613919fea56ffb52e23d456bef87c00a3dcf01d.tar.bz2 |
Add configure support for kfreebsd and hurd. Patch by Sylvestre Ledru.
Fixes pr11620.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3693,7 +3693,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" @@ -3728,6 +3728,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" @@ -10495,7 +10500,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10498 "configure" +#line 10503 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |