diff --git a/openmp/runtime/cmake/config-ix.cmake b/openmp/runtime/cmake/config-ix.cmake --- a/openmp/runtime/cmake/config-ix.cmake +++ b/openmp/runtime/cmake/config-ix.cmake @@ -246,7 +246,11 @@ # Checking features # Check if version symbol assembler directives are supported -libomp_check_version_symbols(LIBOMP_HAVE_VERSION_SYMBOLS) +if (LIBOMP_HAVE_VERSION_SCRIPT_FLAG) + libomp_check_version_symbols(LIBOMP_HAVE_VERSION_SYMBOLS) +else() + set(LIBOMP_HAVE_VERSION_SYMBOLS FALSE) +endif() # Check if quad precision types are available if(CMAKE_C_COMPILER_ID STREQUAL "GNU") diff --git a/openmp/runtime/src/exports_test_so.txt b/openmp/runtime/src/exports_test_so.txt --- a/openmp/runtime/src/exports_test_so.txt +++ b/openmp/runtime/src/exports_test_so.txt @@ -19,10 +19,6 @@ *; # All symbols as exported for testing. - local: # Non-exported symbols. - - *; # All other symbols are not exported. - }; # VERSION # sets up GCC OMP_ version dependency chain