libffi: enable pic (#44970)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
parent
78c62532c7
commit
8ff27f9257
@ -58,7 +58,7 @@ def flag_handler(self, name, flags):
|
|||||||
return (flags, None, None)
|
return (flags, None, None)
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = []
|
args = ["--with-pic"]
|
||||||
if self.spec.version >= Version("3.3"):
|
if self.spec.version >= Version("3.3"):
|
||||||
# Spack adds its own target flags, so tell libffi not to
|
# Spack adds its own target flags, so tell libffi not to
|
||||||
# second-guess us
|
# second-guess us
|
||||||
|
Loading…
Reference in New Issue
Block a user