aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-19 19:38:16 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-19 19:38:16 +0800
commit872e25413e7297482ffe83cdd4388f54d0b9f551 (patch)
tree606673cf46dffdd4f87a997183b9fa64c4b86327 /cmake
parente45e95f578ee51788bc4d7d588c84e2cc3060420 (diff)
downloaddexon-solidity-872e25413e7297482ffe83cdd4388f54d0b9f551.tar.gz
dexon-solidity-872e25413e7297482ffe83cdd4388f54d0b9f551.tar.zst
dexon-solidity-872e25413e7297482ffe83cdd4388f54d0b9f551.zip
Remove LINKABLE from Emscripten
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EthCompilerSettings.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
index 43317ae1..4ce9d22d 100644
--- a/cmake/EthCompilerSettings.cmake
+++ b/cmake/EthCompilerSettings.cmake
@@ -166,8 +166,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdata-sections -ffunction-sections -Wl,--gc-sections -fvisibility=hidden")
# Optimisation level
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
- # Keep every public symbols (disables dead code elimination)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s LINKABLE=1")
# Re-enable exception catching (optimisations above -O1 disable it)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s DISABLE_EXCEPTION_CATCHING=0")
# Remove any code related to exit (such as atexit)