Permalink
Browse files

Fix -Werror flag prevents compilation on Ruby 1.9.2

  • Loading branch information...
1 parent ba7d93b commit 5e005ff1af0a9e736995215b3934b7b8256a21d4 @jgarber jgarber committed Nov 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/compile.rake
View
2 tasks/compile.rake
@@ -29,7 +29,7 @@ if !defined?(JRUBY_VERSION)
io.write(<<-EOF)
require 'mkmf'
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc/
dir_config("redcloth_scan")
have_library("c", "main")
create_makefile("redcloth_scan")

0 comments on commit 5e005ff

Please sign in to comment.