summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-06-17 17:21:07 +0200
committerGitHub <noreply@github.com>2020-06-17 17:21:07 +0200
commit06ed2a1d16b2d90709b78127696ab0777b438dce (patch)
treef1659eca4056383fb12c8fc09f0b8deff63742ce /searchcore
parentf02424ddfeabd99947b7b031ce49e6e84b557ebe (diff)
parenta17dda15aeee8d03fbc38f3928f21d02fc53b966 (diff)
Merge pull request #13618 from vespa-engine/toregge/searchsummary-test-is-a-normal-static-library
Fix compilation on CentOS 8.2.
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()