[OpenMP][libomp] Fix CMake version symbol testing
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 2 Feb 2023 17:18:36 +0000 (11:18 -0600)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 3 Feb 2023 16:52:34 +0000 (10:52 -0600)
commitc32022ad260aa1e6f485c5a6820fa9973f3b108e
treeebaf918912362005dc98f5787c6ff26848fcc004
parent74ce297045bac4bc475b8e762d2a1ea19bb16d3c
[OpenMP][libomp] Fix CMake version symbol testing

Do not check for version symbol support if the necessary linker flag is
not supported.

Differential Revision: https://reviews.llvm.org/D143200
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/exports_test_so.txt