diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-12-30 19:10:15 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-02 15:09:43 -0500 |
commit | 4fe6c3c24fbd84fec7d7952a521e0cb443a3d72b (patch) | |
tree | 34dd6c11b7eb06f339377cb4063fe5597b763fb7 /depends/packages/native_openssl.mk | |
parent | ec90c97d13a4770c0c794f46eccc675e3c1a5103 (diff) | |
download | bitcoin-4fe6c3c24fbd84fec7d7952a521e0cb443a3d72b.tar.xz |
depends: major upgrade to darwin toolchain
tl;dr: Update to the newer stable toolchain and SDK for OSX without giving up
any backwards compatibility. We can move to clang 3.5 as a next step which
allows use to use libc++ and the 10.10 sdk, but we'll need to find a build that
works in gitian/travis first.
Switch to a new, better maintained fork of cctools:
https://github.com/tpoechtrager/cctools-port
I've forked this and will be working on it some as well:
https://github.com/theuni/cctools-port
This brings in:
cctools v862
ld64: v241.9
It also fixes 64bit builds, so there's no longer any need to use a 32bit clang.
Since clang is no longer tied to an old/crusty 32bit build, clang has been
upgraded to 3.3. Unfortunately, there's a bug in 3.4 that breaks builds. 3.5
works fine, but there are no binary builds compatible with precise, which is
currently used for gitian and travis. We could always build our own if
necessary.
After updating to stable clang/linker/cctools, it's possible to use a more
recent SDK. The current SDK (10.7) through the most recent 10.10 have all been
built/tested successfully, both with and without 10.6 compatibility. However,
10.10 requires clang 3.5.
SDKs >= 10.9 use libc++ rather than libstdc++. This is verified working as well.
Diffstat (limited to 'depends/packages/native_openssl.mk')
-rw-r--r-- | depends/packages/native_openssl.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/native_openssl.mk b/depends/packages/native_openssl.mk index 1f25d6afcc..108c6e9442 100644 --- a/depends/packages/native_openssl.mk +++ b/depends/packages/native_openssl.mk @@ -4,7 +4,7 @@ $(package)_download_path=https://www.openssl.org/source $(package)_file_name=openssl-$($(package)_version).tar.gz $(package)_sha256_hash=9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093 define $(package)_set_vars -$(package)_build_config_opts= --prefix=$(build_prefix) no-zlib no-shared no-krb5C linux-generic32 -m32 +$(package)_build_config_opts= --prefix=$(build_prefix) no-zlib no-shared no-krb5C linux-generic64 endef define $(package)_config_cmds |