Blob Blame History Raw
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ar/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ar/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ar/extconf.rb	2011-06-27 13:39:38.495379765 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ar/extconf.rb	2011-06-27 13:46:17.565321074 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ar")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ar")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_bg/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_bg/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_bg/extconf.rb	2011-06-27 13:39:38.495379765 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_bg/extconf.rb	2011-06-27 13:46:17.582321798 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_bg")
 have_library("c", "main")
 create_makefile("gherkin_lexer_bg")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ca/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ca/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ca/extconf.rb	2011-06-27 13:39:38.495379765 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ca/extconf.rb	2011-06-27 13:46:17.593322266 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ca")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ca")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_cs/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_cs/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_cs/extconf.rb	2011-06-27 13:39:38.496379808 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_cs/extconf.rb	2011-06-27 13:46:17.603322692 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_cs")
 have_library("c", "main")
 create_makefile("gherkin_lexer_cs")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_cy_gb/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_cy_gb/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_cy_gb/extconf.rb	2011-06-27 13:39:38.496379808 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_cy_gb/extconf.rb	2011-06-27 13:46:17.657324990 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_cy_gb")
 have_library("c", "main")
 create_makefile("gherkin_lexer_cy_gb")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_da/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_da/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_da/extconf.rb	2011-06-27 13:39:38.496379808 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_da/extconf.rb	2011-06-27 13:46:17.742328608 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_da")
 have_library("c", "main")
 create_makefile("gherkin_lexer_da")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_de/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_de/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_de/extconf.rb	2011-06-27 13:39:38.496379808 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_de/extconf.rb	2011-06-27 13:46:17.776330055 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_de")
 have_library("c", "main")
 create_makefile("gherkin_lexer_de")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en/extconf.rb	2011-06-27 13:39:38.497379851 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en/extconf.rb	2011-06-27 13:46:17.803331203 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en_au/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en_au/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en_au/extconf.rb	2011-06-27 13:39:38.497379851 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en_au/extconf.rb	2011-06-27 13:46:17.820331927 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en_au")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en_au")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en_lol/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en_lol/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en_lol/extconf.rb	2011-06-27 13:39:38.497379851 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en_lol/extconf.rb	2011-06-27 13:46:17.854333374 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en_lol")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en_lol")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en_pirate/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en_pirate/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en_pirate/extconf.rb	2011-06-27 13:39:38.497379851 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en_pirate/extconf.rb	2011-06-27 13:46:17.869334013 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en_pirate")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en_pirate")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en_scouse/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en_scouse/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en_scouse/extconf.rb	2011-06-27 13:39:38.498379893 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en_scouse/extconf.rb	2011-06-27 13:46:17.893335034 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en_scouse")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en_scouse")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_en_tx/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_en_tx/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_en_tx/extconf.rb	2011-06-27 13:39:38.498379893 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_en_tx/extconf.rb	2011-06-27 13:46:17.915335969 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_en_tx")
 have_library("c", "main")
 create_makefile("gherkin_lexer_en_tx")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_eo/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_eo/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_eo/extconf.rb	2011-06-27 13:39:38.498379893 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_eo/extconf.rb	2011-06-27 13:46:17.998339503 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_eo")
 have_library("c", "main")
 create_makefile("gherkin_lexer_eo")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_es/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_es/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_es/extconf.rb	2011-06-27 13:39:38.498379893 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_es/extconf.rb	2011-06-27 13:46:18.025340651 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_es")
 have_library("c", "main")
 create_makefile("gherkin_lexer_es")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_et/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_et/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_et/extconf.rb	2011-06-27 13:39:38.499379935 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_et/extconf.rb	2011-06-27 13:46:18.045341504 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_et")
 have_library("c", "main")
 create_makefile("gherkin_lexer_et")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_fi/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_fi/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_fi/extconf.rb	2011-06-27 13:39:38.499379935 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_fi/extconf.rb	2011-06-27 13:46:18.077342866 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_fi")
 have_library("c", "main")
 create_makefile("gherkin_lexer_fi")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_fr/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_fr/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_fr/extconf.rb	2011-06-27 13:39:38.499379935 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_fr/extconf.rb	2011-06-27 13:46:18.109344228 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_fr")
 have_library("c", "main")
 create_makefile("gherkin_lexer_fr")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_he/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_he/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_he/extconf.rb	2011-06-27 13:39:38.499379935 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_he/extconf.rb	2011-06-27 13:46:18.163346524 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_he")
 have_library("c", "main")
 create_makefile("gherkin_lexer_he")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_hr/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_hr/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_hr/extconf.rb	2011-06-27 13:39:38.500379978 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_hr/extconf.rb	2011-06-27 13:46:18.214348697 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_hr")
 have_library("c", "main")
 create_makefile("gherkin_lexer_hr")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_hu/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_hu/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_hu/extconf.rb	2011-06-27 13:39:38.500379978 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_hu/extconf.rb	2011-06-27 13:46:18.264350824 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_hu")
 have_library("c", "main")
 create_makefile("gherkin_lexer_hu")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_id/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_id/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_id/extconf.rb	2011-06-27 13:39:38.500379978 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_id/extconf.rb	2011-06-27 13:46:18.331353674 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_id")
 have_library("c", "main")
 create_makefile("gherkin_lexer_id")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_it/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_it/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_it/extconf.rb	2011-06-27 13:39:38.500379978 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_it/extconf.rb	2011-06-27 13:46:18.393356311 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_it")
 have_library("c", "main")
 create_makefile("gherkin_lexer_it")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ja/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ja/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ja/extconf.rb	2011-06-27 13:39:38.501380020 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ja/extconf.rb	2011-06-27 13:46:18.426357719 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ja")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ja")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ko/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ko/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ko/extconf.rb	2011-06-27 13:39:38.501380020 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ko/extconf.rb	2011-06-27 13:46:18.466359422 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ko")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ko")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_lt/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_lt/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_lt/extconf.rb	2011-06-27 13:39:38.501380020 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_lt/extconf.rb	2011-06-27 13:46:18.523361848 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_lt")
 have_library("c", "main")
 create_makefile("gherkin_lexer_lt")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_lu/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_lu/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_lu/extconf.rb	2011-06-27 13:39:38.501380020 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_lu/extconf.rb	2011-06-27 13:46:18.604365297 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_lu")
 have_library("c", "main")
 create_makefile("gherkin_lexer_lu")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_lv/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_lv/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_lv/extconf.rb	2011-06-27 13:39:38.502380062 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_lv/extconf.rb	2011-06-27 13:46:18.644366999 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_lv")
 have_library("c", "main")
 create_makefile("gherkin_lexer_lv")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_nl/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_nl/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_nl/extconf.rb	2011-06-27 13:39:38.502380062 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_nl/extconf.rb	2011-06-27 13:46:18.683368657 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_nl")
 have_library("c", "main")
 create_makefile("gherkin_lexer_nl")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_no/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_no/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_no/extconf.rb	2011-06-27 13:39:38.502380062 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_no/extconf.rb	2011-06-27 13:46:18.702369465 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_no")
 have_library("c", "main")
 create_makefile("gherkin_lexer_no")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_pl/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_pl/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_pl/extconf.rb	2011-06-27 13:39:38.502380062 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_pl/extconf.rb	2011-06-27 13:46:18.732370745 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_pl")
 have_library("c", "main")
 create_makefile("gherkin_lexer_pl")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_pt/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_pt/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_pt/extconf.rb	2011-06-27 13:39:38.503380105 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_pt/extconf.rb	2011-06-27 13:46:18.783372916 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_pt")
 have_library("c", "main")
 create_makefile("gherkin_lexer_pt")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ro/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ro/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ro/extconf.rb	2011-06-27 13:39:38.503380105 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ro/extconf.rb	2011-06-27 13:46:18.829374873 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ro")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ro")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ro_ro/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ro_ro/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ro_ro/extconf.rb	2011-06-27 13:39:38.503380105 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ro_ro/extconf.rb	2011-06-27 13:46:18.885377257 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ro_ro")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ro_ro")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_ru/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_ru/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_ru/extconf.rb	2011-06-27 13:39:38.503380105 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_ru/extconf.rb	2011-06-27 13:46:18.994381894 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_ru")
 have_library("c", "main")
 create_makefile("gherkin_lexer_ru")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_sk/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_sk/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_sk/extconf.rb	2011-06-27 13:39:38.504380147 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_sk/extconf.rb	2011-06-27 13:46:19.106386663 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_sk")
 have_library("c", "main")
 create_makefile("gherkin_lexer_sk")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_sr_cyrl/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_sr_cyrl/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_sr_cyrl/extconf.rb	2011-06-27 13:39:38.504380147 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_sr_cyrl/extconf.rb	2011-06-27 13:46:19.158388874 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_sr_cyrl")
 have_library("c", "main")
 create_makefile("gherkin_lexer_sr_cyrl")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_sr_latn/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_sr_latn/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_sr_latn/extconf.rb	2011-06-27 13:39:38.504380147 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_sr_latn/extconf.rb	2011-06-27 13:46:19.218391428 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_sr_latn")
 have_library("c", "main")
 create_makefile("gherkin_lexer_sr_latn")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_sv/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_sv/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_sv/extconf.rb	2011-06-27 13:39:38.504380147 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_sv/extconf.rb	2011-06-27 13:46:19.284394235 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_sv")
 have_library("c", "main")
 create_makefile("gherkin_lexer_sv")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_tr/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_tr/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_tr/extconf.rb	2011-06-27 13:39:38.505380189 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_tr/extconf.rb	2011-06-27 13:46:19.312395431 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_tr")
 have_library("c", "main")
 create_makefile("gherkin_lexer_tr")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_uk/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_uk/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_uk/extconf.rb	2011-06-27 13:39:38.505380189 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_uk/extconf.rb	2011-06-27 13:46:19.355397258 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_uk")
 have_library("c", "main")
 create_makefile("gherkin_lexer_uk")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_uz/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_uz/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_uz/extconf.rb	2011-06-27 13:39:38.505380189 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_uz/extconf.rb	2011-06-27 13:46:19.406399430 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_uz")
 have_library("c", "main")
 create_makefile("gherkin_lexer_uz")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_vi/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_vi/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_vi/extconf.rb	2011-06-27 13:39:38.505380189 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_vi/extconf.rb	2011-06-27 13:46:19.508403770 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_vi")
 have_library("c", "main")
 create_makefile("gherkin_lexer_vi")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_zh_cn/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_zh_cn/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_zh_cn/extconf.rb	2011-06-27 13:39:38.506380232 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_zh_cn/extconf.rb	2011-06-27 13:46:19.555405772 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_zh_cn")
 have_library("c", "main")
 create_makefile("gherkin_lexer_zh_cn")
diff -urp gherkin-2.3.3.orig/ext/gherkin_lexer_zh_tw/extconf.rb gherkin-2.3.3/ext/gherkin_lexer_zh_tw/extconf.rb
--- gherkin-2.3.3.orig/ext/gherkin_lexer_zh_tw/extconf.rb	2011-06-27 13:39:38.506380232 -0400
+++ gherkin-2.3.3/ext/gherkin_lexer_zh_tw/extconf.rb	2011-06-27 13:46:19.576406665 -0400
@@ -1,6 +1,6 @@
 require 'mkmf'
 CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O2 -Wall ' if CONFIG['CC'] =~ /gcc/
 dir_config("gherkin_lexer_zh_tw")
 have_library("c", "main")
 create_makefile("gherkin_lexer_zh_tw")