aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-26 10:36:58 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-26 10:36:58 +0000
commit331217d9babdeeeb77adb6c95f2e84dcd374a2fb (patch)
tree9f2ca8192e28987c6f7f13b4ca42ee71fab3d92c /autoconf
parent54ee1111f24141f86e70e3aa252fa1c0eb780a16 (diff)
downloadexternal_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.zip
external_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.tar.gz
external_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.tar.bz2
Make LLVM compile on DragonFly BSD (PR2499).
Patch by Hasso Tepper! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 42d2985..ca160d1 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -140,6 +140,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="NetBSD"
llvm_cv_platform_type="Unix" ;;
+ *-*-dragonfly*)
+ llvm_cv_link_all_option="-Wl,--whole-archive"
+ llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+ llvm_cv_os_type="DragonFly"
+ llvm_cv_platform_type="Unix" ;;
*-*-hpux*)
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"