aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-06-17 16:25:23 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-06-17 16:25:23 +0200
commita17dda15aeee8d03fbc38f3928f21d02fc53b966 (patch)
tree5c28202b57e709c05978ca103677b3e82267fd0a /searchcore
parent478fe812dfa87447c7dc7aea1f7b676c4b7b8d3b (diff)
Use same kludge for CentOS 8.2 as for RHEL 8.2 to avoid unresolved
symbols with gcc-toolset-9.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt b/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
index 7e1b1fb1e9a..4270006e301 100644
--- a/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
+++ b/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
@@ -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()