Exclude version symbols for static libomp
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 2 Aug 2017 20:10:00 +0000 (20:10 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 2 Aug 2017 20:10:00 +0000 (20:10 +0000)
commit038855ade8b3a75548b8d68f3d89bf35e175c5dc
treebe4f1454f0806b834d0e6b4437af7a2ef57ebae4
parent873889ca1680e0cd5feafec46daccf96116e2751
Exclude version symbols for static libomp

We use symbol versioning for GNU-compatibility but libgomp has versioned symbols
only in the shared library but not in the static.
Moreover, version symbols in the static library can cause an error at link time.

Patch by Olga Malysheva

Differential Revision: https://reviews.llvm.org/D36225

llvm-svn: 309877
openmp/runtime/CMakeLists.txt