From e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Mon, 8 Jun 2015 17:56:03 -0700 Subject: Updated upb to latest version (C89). Since this version of upb supports C89, all of the extra compiler flags are no longer required. --- ruby/ext/google/protobuf_c/extconf.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ruby/ext/google/protobuf_c/extconf.rb') 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"] -- cgit v1.2.3