pgplot: fix with gcc<10 (#25042)
This commit is contained in:
		@@ -38,7 +38,8 @@ def edit(self, spec, prefix):
 | 
			
		||||
            ('@CFLAGC@', ("-Wall -fPIC -DPG_PPU -O -std=c89 " +
 | 
			
		||||
                          "-Wno-error=implicit-function-declaration")),
 | 
			
		||||
            ('@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"),
 | 
			
		||||
            ('@SHARED_LD@', self.compiler.cc + " -shared -o $SHARED_LIB -lgfortran"),
 | 
			
		||||
        ]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user