r: set FPICFLAGS for compilers except 'gcc' (#12033)
This commit is contained in:
parent
29d968bd84
commit
c44afdcc80
@ -145,6 +145,10 @@ def configure_args(self):
|
|||||||
if '+memory_profiling' in spec:
|
if '+memory_profiling' in spec:
|
||||||
config_args.append('--enable-memory-profiling')
|
config_args.append('--enable-memory-profiling')
|
||||||
|
|
||||||
|
# Set FPICFLAGS for compilers except 'gcc'.
|
||||||
|
if self.compiler.name != 'gcc':
|
||||||
|
config_args.append('FPICFLAGS={0}'.format(self.compiler.pic_flag))
|
||||||
|
|
||||||
return config_args
|
return config_args
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
|
Loading…
Reference in New Issue
Block a user