aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext/google/protobuf_c/extconf.rb
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2015-06-08 17:56:03 -0700
committerGravatar Josh Haberman <jhaberman@gmail.com>2015-06-08 17:56:03 -0700
commite8ed021ee717cb8cc4e9de68e61d4dae2e1dd832 (patch)
tree8da393338eef5d13167a09fa9292e8a486fbb9ea /ruby/ext/google/protobuf_c/extconf.rb
parent9cbdaedb86debc56ffec91935ee9546f3c92eb0a (diff)
Updated upb to latest version (C89).
Since this version of upb supports C89, all of the extra compiler flags are no longer required.
Diffstat (limited to 'ruby/ext/google/protobuf_c/extconf.rb')
-rw-r--r--ruby/ext/google/protobuf_c/extconf.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/ruby/ext/google/protobuf_c/extconf.rb b/ruby/ext/google/protobuf_c/extconf.rb
index 74203b07..9675f57f 100644
--- a/ruby/ext/google/protobuf_c/extconf.rb
+++ b/ruby/ext/google/protobuf_c/extconf.rb
@@ -2,9 +2,7 @@
require 'mkmf'
-$CFLAGS += " -O3 -std=c99 -Wno-unused-function " +
- "-Wno-declaration-after-statement -Wno-unused-variable " +
- "-Wno-sign-compare -DNDEBUG "
+$CFLAGS += " -O3 -DNDEBUG"
$objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
"repeated_field.o", "map.o", "encode_decode.o", "upb.o"]