Project

General

Profile

Feature #19695

Updated by jaruga (Jun Aruga) 11 months ago

I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` at runtime when building native extensions. Because the `V = 1` prints the compiler command lines. And it's useful to confirm and update the compiler flags. It can be used like the command below. 

 ``` 
 $ ruby /path/to/extconf.rb -- --with-verbose 

 $ grep '^V =' Makefile  
 V = 1 
 ``` 

 Or it can be used with `rake-compiler` gem. 

 ``` 
 $ rake compile compiler -- --with-verbose 
 ``` 

 The pull-request is <https://github.com/ruby/ruby/pull/7863>. 

Back