From d56db9de7c55117a2c2cbde7a0d14a3cfc215e64 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sun, 18 Sep 2022 15:17:25 +0200 Subject: Remove kludge for RHEL 8.2. --- .../src/vespa/searchcore/proton/common/CMakeLists.txt | 4 ---- .../src/vespa/searchcore/proton/common/hw_info_sampler.cpp | 13 ------------- 2 files changed, 17 deletions(-) diff --git a/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt b/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt index 25e9a469f93..fffbd12764b 100644 --- a/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt +++ b/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt @@ -32,7 +32,3 @@ vespa_add_library(searchcore_pcommon STATIC EXTERNAL_DEPENDS ${VESPA_STDCXX_FS_LIB} ) - -if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2" OR VESPA_OS_DISTRO_COMBINED STREQUAL "centos 8") - set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE) -endif() diff --git a/searchcore/src/vespa/searchcore/proton/common/hw_info_sampler.cpp b/searchcore/src/vespa/searchcore/proton/common/hw_info_sampler.cpp index ea2d2de8b41..2f054843dd3 100644 --- a/searchcore/src/vespa/searchcore/proton/common/hw_info_sampler.cpp +++ b/searchcore/src/vespa/searchcore/proton/common/hw_info_sampler.cpp @@ -165,16 +165,3 @@ HwInfoSampler::sampleDiskWriteSpeed(const vespalib::string &path, const Config & } } - -#ifdef RHEL_8_2_KLUDGE - -// Kludge to avoid unresolved symbols with gcc-toolset-9 on RHEL 8.2 -#include - -namespace std { - -template class codecvt_utf8; - -} - -#endif -- cgit v1.2.3