libffi: enable pic (#44970)

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
renjithravindrankannath 2024-07-01 06:01:12 -07:00 committed by GitHub
parent 78c62532c7
commit 8ff27f9257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ def flag_handler(self, name, flags):
return (flags, None, None)
def configure_args(self):
args = []
args = ["--with-pic"]
if self.spec.version >= Version("3.3"):
# Spack adds its own target flags, so tell libffi not to
# second-guess us