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
commitf512281d61c10cbd2dd9797457f5809648b0677b (patch)
tree9f2ca8192e28987c6f7f13b4ca42ee71fab3d92c /autoconf
parent65c9216a398c319d6817dbad3086346da77f3a5d (diff)
downloadexternal_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.zip
external_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.tar.gz
external_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.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"