diff options
author | juj <jujjyl@gmail.com> | 2017-07-19 23:23:13 +0300 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2017-07-19 13:23:13 -0700 |
commit | 9ff9885b5d5d3415bb83a88967709e0c941be16e (patch) | |
tree | 0a9db2d0a0832ad1edf511bd61a190f602fe8b0b | |
parent | fa5165bb52fae9742ebcbb224ec7907b8d914d21 (diff) | |
download | binaryen-9ff9885b5d5d3415bb83a88967709e0c941be16e.tar.gz binaryen-9ff9885b5d5d3415bb83a88967709e0c941be16e.tar.bz2 binaryen-9ff9885b5d5d3415bb83a88967709e0c941be16e.zip |
Set stack size on MinGW to match the 8MB that is set for Visual Studio. (#1103)
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 287a5589b..157a2e2c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,7 @@ ELSE() ADD_COMPILE_FLAG("-fno-omit-frame-pointer") IF(WIN32) ADD_COMPILE_FLAG("-D_GNU_SOURCE") + ADD_LINK_FLAG("-Wl,--stack,8388608") ELSE() ADD_COMPILE_FLAG("-fPIC") ENDIF() |