mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	fix for Solaris sh
* Makefile.in (mjit_config.h): removed unnecessary assignment. * tool/mjit_archflag.sh (define_arch_flags): need to quote on Solaris. [ruby-dev:50669] [Bug #15319] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e205cd80d2
								
							
						
					
					
						commit
						3f84ef9740
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -601,7 +601,7 @@ mjit_config.h:
 | 
			
		|||
	quote "MJIT_DLDFLAGS    MJIT_ARCHFLAG" $(MJIT_DLDFLAGS); \
 | 
			
		||||
	quote "MJIT_LIBS       " $(LIBRUBYARG_SHARED); \
 | 
			
		||||
	quote 'PRELOADENV       "@PRELOADENV@"'; \
 | 
			
		||||
	indent=$${archs+  } define_arch_flags; \
 | 
			
		||||
	define_arch_flags; \
 | 
			
		||||
	echo; \
 | 
			
		||||
	echo '#endif /* RUBY_MJIT_CONFIG_H */'; \
 | 
			
		||||
	} > $@
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,7 @@ parse_arch_flags() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
define_arch_flags() {
 | 
			
		||||
    local indent=${archs:+  }
 | 
			
		||||
    local indent=${archs:+'  '}
 | 
			
		||||
    ${archs:+echo} ${archs:+'#if 0'}
 | 
			
		||||
    for arch in $archs; do
 | 
			
		||||
	echo "#elif defined __${arch}__"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue