Only include debug info when DEBUG is set.
This commit is contained in:
		
							parent
							
								
									fd2f727183
								
							
						
					
					
						commit
						ad67cd708f
					
				|  | @ -5,9 +5,9 @@ have_header('ruby.h') | ||||||
| $CFLAGS << ' -Wextra -Wall -pedantic' | $CFLAGS << ' -Wextra -Wall -pedantic' | ||||||
| 
 | 
 | ||||||
| if ENV['DEBUG'] | if ENV['DEBUG'] | ||||||
|   $CFLAGS << ' -O0' |   $CFLAGS << ' -O0 -g' | ||||||
| else | else | ||||||
|   $CFLAGS << ' -O3 -g' |   $CFLAGS << ' -O3' | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| create_makefile('liboga/liboga') | create_makefile('liboga/liboga') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue