mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
disable useless warnings on MRI
This commit is contained in:
parent
451211fb72
commit
223f0aa970
1 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,9 @@ $LIBS << ' -lpthread '
|
|||
|
||||
|
||||
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/
|
||||
CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')
|
||||
CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
|
||||
if CONFIG['warnflags']
|
||||
CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')
|
||||
CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
|
||||
end
|
||||
|
||||
create_makefile('init')
|
||||
|
|
Loading…
Add table
Reference in a new issue