etsf-io: use pic flag when compiling (#45646)
This commit is contained in:
parent
63e680e4f9
commit
6f61e382da
@ -32,6 +32,13 @@ class EtsfIo(Package):
|
|||||||
patch("tests_module.patch")
|
patch("tests_module.patch")
|
||||||
patch("tests_init.patch")
|
patch("tests_init.patch")
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
if name == "fflags":
|
||||||
|
flags.append(self.compiler.f77_pic_flag)
|
||||||
|
elif name == "fcflags":
|
||||||
|
flags.append(self.compiler.fc_pic_flag)
|
||||||
|
return flags, None, None
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
options = ["--prefix=%s" % prefix]
|
options = ["--prefix=%s" % prefix]
|
||||||
oapp = options.append
|
oapp = options.append
|
||||||
|
Loading…
Reference in New Issue
Block a user