sigio: support Fujitsu compiler (#29366)

This commit is contained in:
Qian Jianhua 2022-03-08 09:17:44 +08:00 committed by GitHub
parent cc14384818
commit 2088d407a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,3 +25,9 @@ def setup_run_environment(self, env):
for suffix in ('4', ''):
env.set('SIGIO_LIB' + suffix, lib[0])
env.set('SIGIO_INC' + suffix, join_path(self.prefix, 'include'))
def flag_handler(self, name, flags):
if self.spec.satisfies('%fj'):
if name == 'fflags':
flags.append('-Free')
return (None, None, flags)