aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-24 23:36:37 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-04-24 23:36:37 +0800
commit4eae971b31b4b43544473774e4bb98dfad1af07c (patch)
tree256fd7b8e5dfd2b6fc17e0f14b869048d4cbd208
parentd3b8d5f0498724fc4271f907f0404b4ed7922399 (diff)
downloaddexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.tar.gz
dexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.tar.zst
dexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.zip
Export compileStandard on emscripten
-rw-r--r--solc/CMakeLists.txt2
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()