projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9d7d2d7
)
For PR808:
author
Reid Spencer
<rspencer@reidspencer.com>
Sat, 20 Jan 2007 20:43:35 +0000
(20:43 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sat, 20 Jan 2007 20:43:35 +0000
(20:43 +0000)
Add support for NetBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33405
91177308
-0d34-0410-b5e6-
96231b3b80d8
autoconf/configure.ac
patch
|
blob
|
history
diff --git
a/autoconf/configure.ac
b/autoconf/configure.ac
index adfd43fb8b1d2b05c12ae6f83f614b0570226719..ccbbffe2f894d00504fcb8c3af88665c5f04d59b 100644
(file)
--- a/
autoconf/configure.ac
+++ b/
autoconf/configure.ac
@@
-131,6
+131,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="OpenBSD"
llvm_cv_platform_type="Unix" ;;
+ *-*-netbsd*)
+ llvm_cv_link_all_option="-Wl,--whole-archive"
+ llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+ llvm_cv_os_type="NetBSD"
+ llvm_cv_platform_type="Unix" ;;
*-*-hpux*)
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"