nn-c: fix pic flags (#18478)
This commit is contained in:
parent
ba47a057f0
commit
8494d26c0a
@ -26,8 +26,8 @@ def configure_args(self):
|
|||||||
args = []
|
args = []
|
||||||
if '+pic' in self.spec:
|
if '+pic' in self.spec:
|
||||||
args.extend([
|
args.extend([
|
||||||
'CFLAGS={0}'.format(self.compiler.pic_flag),
|
'CFLAGS={0}'.format(self.compiler.cc_pic_flag),
|
||||||
'CXXFLAGS={0}'.format(self.compiler.pic_flag),
|
'CXXFLAGS={0}'.format(self.compiler.cxx_pic_flag),
|
||||||
'FFLAGS={0}'.format(self.compiler.pic_flag)
|
'FFLAGS={0}'.format(self.compiler.fc_pic_flag)
|
||||||
])
|
])
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user