parallel-netcdf: use spack_cc for sequential code instead of system gcc (#3143)
This commit is contained in:
		
				
					committed by
					
						
						Todd Gamblin
					
				
			
			
				
	
			
			
			
						parent
						
							d2a52d6dd6
						
					
				
				
					commit
					6681fc1a47
				
			@@ -53,6 +53,7 @@ def configure_args(self):
 | 
				
			|||||||
        spec = self.spec
 | 
					        spec = self.spec
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        args = ['--with-mpi={0}'.format(spec['mpi'].prefix)]
 | 
					        args = ['--with-mpi={0}'.format(spec['mpi'].prefix)]
 | 
				
			||||||
 | 
					        args.append('SEQ_CC=%s' % spack_cc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if '+fpic' in spec:
 | 
					        if '+fpic' in spec:
 | 
				
			||||||
            args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC'])
 | 
					            args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC'])
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user