diff options
author | Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | 2024-09-06 15:11:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 15:11:03 +0200 |
commit | fa5f4f1cabdcb105bfe81f98ddd5a1556de1d931 (patch) | |
tree | aa6aed3f57b83f44cdeb0c59a58eacb73a55c0c8 | |
parent | 4042afaa99426d8ed35643e531b69a8012fbd3f2 (diff) | |
download | spack-fa5f4f1cabdcb105bfe81f98ddd5a1556de1d931.tar.gz spack-fa5f4f1cabdcb105bfe81f98ddd5a1556de1d931.tar.bz2 spack-fa5f4f1cabdcb105bfe81f98ddd5a1556de1d931.tar.xz spack-fa5f4f1cabdcb105bfe81f98ddd5a1556de1d931.zip |
pthreadpool: add the PIC flag (#46216)
-rw-r--r-- | var/spack/repos/builtin/packages/pthreadpool/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pthreadpool/package.py b/var/spack/repos/builtin/packages/pthreadpool/package.py index 2754fef9b7..5ccb439496 100644 --- a/var/spack/repos/builtin/packages/pthreadpool/package.py +++ b/var/spack/repos/builtin/packages/pthreadpool/package.py @@ -67,4 +67,5 @@ class Pthreadpool(CMakePackage): self.define("PTHREADPOOL_BUILD_BENCHMARKS", False), self.define("PTHREADPOOL_LIBRARY_TYPE", "static"), self.define("PTHREADPOOL_ALLOW_DEPRECATED_API", True), + self.define("CMAKE_POSITION_INDEPENDENT_CODE", True), ] |