diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-26 10:36:58 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-26 10:36:58 +0000 |
commit | f512281d61c10cbd2dd9797457f5809648b0677b (patch) | |
tree | 9f2ca8192e28987c6f7f13b4ca42ee71fab3d92c /autoconf | |
parent | 65c9216a398c319d6817dbad3086346da77f3a5d (diff) |
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.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 42d2985d53..ca160d163a 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" |