diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-29 09:36:26 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-29 09:36:54 +0200 |
commit | 41150d601df8bbbec9e6f0b7fb4d3fc569692522 (patch) | |
tree | 9ceddf9231e185e263548d43ee6eab92139076a3 /depends/hosts/darwin.mk | |
parent | 76182e7cb62caa93ef24aa657b2b18921f6fc0b7 (diff) | |
parent | 93e24dddf3b7063a157b414c07e08ac7f31eaf03 (diff) | |
download | bitcoin-41150d601df8bbbec9e6f0b7fb4d3fc569692522.tar.xz |
Merge pull request #4970
93e24dd travis: use debug for one build (Cory Fields)
be6d87a script: don't read past the end (Cory Fields)
a94496f tests: don't split an empty string (Cory Fields)
00522cd depends: disable reduced exports for debug builds (Cory Fields)
1f7fff2 depends: add docs for debug (Cory Fields)
dc66ff5 depends: make LDFLAGS act like the other flags (Cory Fields)
b1efba8 depends: give miniupnpc cppflags (Cory Fields)
1d154db depends: teach qt to honor debug/release (Cory Fields)
3b63df5 depends: boost: build for debug or release as requested (Cory Fields)
7e99df7 depends: make sure openssl sees cppflags (Cory Fields)
f397304 depends: add debug/release flags for linux/osx/win (Cory Fields)
2027ad3 depends: add the debug/release concept to depends (Cory Fields)
Diffstat (limited to 'depends/hosts/darwin.mk')
-rw-r--r-- | depends/hosts/darwin.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk index 9e2415655e..8d718eba17 100644 --- a/depends/hosts/darwin.mk +++ b/depends/hosts/darwin.mk @@ -3,6 +3,14 @@ OSX_SDK_VERSION=10.7 OSX_SDK=$(SDK_PATH)/MacOSX$(OSX_SDK_VERSION).sdk darwin_CC=clang -target $(host) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) darwin_CXX=clang++ -target $(host) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) -darwin_CFLAGS=-pipe -O2 + +darwin_CFLAGS=-pipe darwin_CXXFLAGS=$(darwin_CFLAGS) + +darwin_release_CFLAGS=-O2 +darwin_release_CXXFLAGS=$(darwin_release_CFLAGS) + +darwin_debug_CFLAGS=-O1 +darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS) + darwin_native_toolchain=native_cctools |