Skip to content

Commit

Permalink
Merge pull request #15 from tt-laboratories/master
Browse files Browse the repository at this point in the history
add -Wno-narrowing to compiler flags
  • Loading branch information
grosser authored Nov 19, 2018
2 parents 6eabc2a + fe35dec commit 2577e52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/cld/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#require 'mkmf'
#create_makefile('cld/cld')

ENV['CFLAGS'] = ENV['CFLAGS'].to_s + ' -Wno-narrowing'
ENV['CXXFLAGS'] = ENV['CXXFLAGS'].to_s + ' -Wno-narrowing'

system "./configure --prefix=#{Dir.pwd}" unless File.exists?('Makefile')

0 comments on commit 2577e52

Please sign in to comment.