r: fix building :3.6.1 with gcc 10: (#37080)
This commit is contained in:
parent
ff689be250
commit
459c5cfad6
@ -177,6 +177,10 @@ def configure_args(self):
|
||||
if self.compiler.name != "gcc":
|
||||
config_args.append("FPICFLAGS={0}".format(self.compiler.cc_pic_flag))
|
||||
|
||||
if self.spec.satisfies("@:3.6.1 %gcc@10:"):
|
||||
config_args.append("CFLAGS=-fcommon")
|
||||
config_args.append("FFLAGS=-fallow-argument-mismatch")
|
||||
|
||||
return config_args
|
||||
|
||||
@run_after("install")
|
||||
|
Loading…
Reference in New Issue
Block a user