We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8f6634 + 3f58505 commit 6de10cbCopy full SHA for 6de10cb
cmake/EthCompilerSettings.cmake
@@ -98,7 +98,8 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
98
# Abort if linking results in any undefined symbols
99
# Note: this is on by default in the CMake Emscripten module which we aren't using
100
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ERROR_ON_UNDEFINED_SYMBOLS=1")
101
- add_definitions(-DETH_EMSCRIPTEN=1)
+ # Disallow deprecated emscripten build options.
102
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s STRICT=1")
103
endif()
104
105
0 commit comments