pgplot: fix with gcc<10 (#25042)
This commit is contained in:
parent
dc3e1d9a40
commit
7b0d869c3c
@ -38,7 +38,8 @@ def edit(self, spec, prefix):
|
|||||||
('@CFLAGC@', ("-Wall -fPIC -DPG_PPU -O -std=c89 " +
|
('@CFLAGC@', ("-Wall -fPIC -DPG_PPU -O -std=c89 " +
|
||||||
"-Wno-error=implicit-function-declaration")),
|
"-Wno-error=implicit-function-declaration")),
|
||||||
('@FCOMPL@', self.compiler.f77),
|
('@FCOMPL@', self.compiler.f77),
|
||||||
('@FFLAGC@', "-Wall -fPIC -O -ffixed-line-length-none -fallow-invalid-boz"),
|
('@FFLAGC@', "-Wall -fPIC -O -ffixed-line-length-none" +
|
||||||
|
(" -fallow-invalid-boz" if spec.satisfies('%gcc@10:') else "")),
|
||||||
('@LIBS@', "-lgfortran"),
|
('@LIBS@', "-lgfortran"),
|
||||||
('@SHARED_LD@', self.compiler.cc + " -shared -o $SHARED_LIB -lgfortran"),
|
('@SHARED_LD@', self.compiler.cc + " -shared -o $SHARED_LIB -lgfortran"),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user