diff options
author | chriseth <chris@ethereum.org> | 2017-04-25 00:06:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 00:06:29 +0800 |
commit | 6202664d702289f77b6464f22bbe480478abafba (patch) | |
tree | 256fd7b8e5dfd2b6fc17e0f14b869048d4cbd208 | |
parent | d3b8d5f0498724fc4271f907f0404b4ed7922399 (diff) | |
parent | 4eae971b31b4b43544473774e4bb98dfad1af07c (diff) | |
download | dexon-solidity-6202664d702289f77b6464f22bbe480478abafba.tar.gz dexon-solidity-6202664d702289f77b6464f22bbe480478abafba.tar.zst dexon-solidity-6202664d702289f77b6464f22bbe480478abafba.zip |
Merge pull request #2163 from ethereum/jsonio-enable-emscripten
Export compileStandard on emscripten
-rw-r--r-- | solc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index fa7e0bde..a5515d81 100644 --- a/solc/CMakeLists.txt +++ b/solc/CMakeLists.txt @@ -18,7 +18,7 @@ else() endif() if (EMSCRIPTEN) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\"]' -s RESERVED_FUNCTION_POINTERS=20") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\",\"_compileStandard\"]' -s RESERVED_FUNCTION_POINTERS=20") add_executable(soljson jsonCompiler.cpp ${HEADERS}) eth_use(soljson REQUIRED Solidity::solidity) else() |