mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11943 from ethereum/cmake-remove-stdlib-option
cmake: Remove stdlib compile option for Solidity build.
This commit is contained in:
commit
94daad7c3d
@ -102,14 +102,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
|
||||
|
||||
# Some Linux-specific Clang settings. We don't want these for OS X.
|
||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
|
||||
# TODO - Is this even necessary? Why?
|
||||
# See http://stackoverflow.com/questions/19774778/when-is-it-necessary-to-use-use-the-flag-stdlib-libstdc.
|
||||
add_compile_options(-stdlib=libstdc++)
|
||||
|
||||
# Tell Boost that we're using Clang's libc++. Not sure exactly why we need to do.
|
||||
add_definitions(-DBOOST_ASIO_HAS_CLANG_LIBCXX)
|
||||
|
||||
# Use fancy colors in the compiler diagnostics
|
||||
add_compile_options(-fcolor-diagnostics)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user