From b5f5e85a12275dc60604bdd9065644f4295aba74 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Mon, 13 Sep 2021 11:27:37 +0200 Subject: [PATCH] cmake: Remove stdlib compile option for Solidity build. --- cmake/EthCompilerSettings.cmake | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake index 44268e699..0695c56a3 100644 --- a/cmake/EthCompilerSettings.cmake +++ b/cmake/EthCompilerSettings.cmake @@ -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)