diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-02-07 19:28:17 +0100 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-02-07 19:28:17 +0100 |
| commit | 4775bb11165d2ecd68de719614528144b7924525 (patch) | |
| tree | 67a142f7ed9e8c9e32c19769fc5879ac28cb51cd /contrib/depends/toolchain.cmake.in | |
| parent | 9301097ff504525070cc0cb915fe2f1bb0670345 (diff) | |
fix: allocation to stack instead of heap in cn_slow_hash causingcyjan-fix-FORCE_USE_HEAP
older low end devices to crash
Diffstat (limited to 'contrib/depends/toolchain.cmake.in')
| -rw-r--r-- | contrib/depends/toolchain.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in index 216741e..4fda443 100644 --- a/contrib/depends/toolchain.cmake.in +++ b/contrib/depends/toolchain.cmake.in @@ -199,5 +199,9 @@ include_directories(@prefix@/include/wownero_seed) add_definitions(-DPOLYSEED_STATIC=ON) add_definitions(-DMOBILE_WALLET_BUILD) +if (ANDROID OR IOS) + add_definitions(-DFORCE_USE_HEAP=1) +endif() + #Create a new global cmake flag that indicates building with depends set (DEPENDS true)
\ No newline at end of file |
