From: bors Date: Sat, 26 Nov 2016 23:40:40 +0000 (-0600) Subject: Auto merge of #3332 - alexcrichton:build-openssl, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~111 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3568be94c0ca73488954ad209c07e7998786b3d9;p=cargo.git Auto merge of #3332 - alexcrichton:build-openssl, r=alexcrichton Compile OpenSSL from source on OSX I'm seeing a bunch of weird illegal instructions on OSX nightlies for Cargo. My guess is that they're all related to OpenSSL linking. Right now we're linking from Homebrew but I have a sneaking suspicion that it compiles with `-march=native` rather than what we'd like as a portable binary. To work around this compile OpenSSL ourselves and link it that way. Note that I believe this won't bring in the certificate trust store of OpenSSL on OSX (or at least not the right one from the keychain). We shouldn't need that, however, as OpenSSL is just used as the cryptographic primitives in libssh2 and Cargo itself. So in that sense we shouldn't need it for actually SSL at all. --- 3568be94c0ca73488954ad209c07e7998786b3d9