Use same kludge for CentOS 8.2 as for RHEL 8.2 to avoid unresolved
symbols with gcc-toolset-9.
@@ -27,6 +27,6 @@ vespa_add_library(searchcore_pcommon STATIC
${VESPA_STDCXX_FS_LIB}
)
-if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2")
+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()
