ext/cld/extconf.rb in cld-2018-1.1 vs ext/cld/extconf.rb in cld-2018-1.1.1
- old
+ new
@@ -29,12 +29,13 @@
if have_library('stdc++')
create_makefile('libcld2')
end
+$CXXFLAGS += "-Wno-narrowing"
+
# to clean up object files under internal subdirectory.
open('Makefile', 'a') do |f|
f.write <<EOS
-
CLEANOBJS := $(CLEANOBJS) internal/*.#{CONFIG["OBJEXT"]}
EOS
end