about summary refs log tree commit diff
path: root/src/libbacktrace/configure
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-01-15 19:24:50 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-01-15 19:24:50 +0300
commit55e2b7e1b4606ae0bc684293f011b7006d1f1258 (patch)
treeaad569fd1bc453a320b87c07b4f5b56f31015129 /src/libbacktrace/configure
parent5f57121fb328c0e62b49a405f9a5339098ec0a8e (diff)
downloadrust-55e2b7e1b4606ae0bc684293f011b7006d1f1258.tar.gz
rust-55e2b7e1b4606ae0bc684293f011b7006d1f1258.zip
libbacktrace: Reapply Rust-specific changes
New:
Fix for https://github.com/rust-lang/rust/issues/28447

Merged:
openbsd support: https://github.com/rust-lang/rust/commit/fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae
bitrig integration: https://github.com/rust-lang/rust/commit/cd8f31759fd04b9ce9c903fa00cae81dc5bba546

Not merged:
https://github.com/rust-lang/rust/commit/d4fc3ec208186f0a9de8d05a6802c95b07e058fd
@Diggsey says this change was unintended (https://github.com/rust-lang/rust/pull/30666#issuecomment-168616892)
Diffstat (limited to 'src/libbacktrace/configure')
-rwxr-xr-xsrc/libbacktrace/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libbacktrace/configure b/src/libbacktrace/configure
index 4e720e19f43..47df55c22d6 100755
--- a/src/libbacktrace/configure
+++ b/src/libbacktrace/configure
@@ -5691,7 +5691,7 @@ else
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly* | bitrig*)
     # This has been around since 386BSD, at least.  Likely further.
     if test -x /sbin/sysctl; then
       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -9374,7 +9374,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | dragonfly*)
+    freebsd* | dragonfly* | openbsd* | bitrig*)
       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes