otf2: add configure args to specify compiler commands. (#12711)
* otf2: add configure args to specify compiler commands. * Modify the reference of the compile commands.
This commit is contained in:
		
				
					committed by
					
						
						Adam J. Stewart
					
				
			
			
				
	
			
			
			
						parent
						
							a12c032509
						
					
				
				
					commit
					139eaa1306
				
			@@ -27,6 +27,10 @@ class Otf2(AutotoolsPackage):
 | 
			
		||||
    def configure_args(self):
 | 
			
		||||
        return [
 | 
			
		||||
            '--enable-shared',
 | 
			
		||||
            'CC={0}'.format(spack_cc),
 | 
			
		||||
            'CXX={0}'.format(spack_cxx),
 | 
			
		||||
            'F77={0}'.format(spack_f77),
 | 
			
		||||
            'FC={0}'.format(spack_fc),
 | 
			
		||||
            'CFLAGS={0}'.format(self.compiler.pic_flag),
 | 
			
		||||
            'CXXFLAGS={0}'.format(self.compiler.pic_flag)
 | 
			
		||||
        ]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user