diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2015-05-18 14:07:21 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2015-05-18 14:07:21 -0700 |
commit | 202f87f8de182b8d5d35c0ff0f833fcd90c7907c (patch) | |
tree | dbfe277bb1089026e1fb85a36717d642e379c570 /ruby/ext/google/protobuf_c/extconf.rb | |
parent | 96bf11be8fa2011eba9b68c56f3181568fe48539 (diff) | |
parent | d326277397e345b5bda4a8afbd0a9d54f01b9a06 (diff) | |
download | protobuf-202f87f8de182b8d5d35c0ff0f833fcd90c7907c.tar.gz protobuf-202f87f8de182b8d5d35c0ff0f833fcd90c7907c.tar.bz2 protobuf-202f87f8de182b8d5d35c0ff0f833fcd90c7907c.zip |
Merge pull request #387 from cfallin/ruby-upb-update
Update MRI C Ruby extension to use new version of upb (with upb_env).
Diffstat (limited to 'ruby/ext/google/protobuf_c/extconf.rb')
-rw-r--r-- | ruby/ext/google/protobuf_c/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/extconf.rb b/ruby/ext/google/protobuf_c/extconf.rb index 8d60392c..74203b07 100644 --- a/ruby/ext/google/protobuf_c/extconf.rb +++ b/ruby/ext/google/protobuf_c/extconf.rb @@ -2,7 +2,9 @@ require 'mkmf' -$CFLAGS += " -O3 -std=c99 -Wno-unused-function -DNDEBUG " +$CFLAGS += " -O3 -std=c99 -Wno-unused-function " + + "-Wno-declaration-after-statement -Wno-unused-variable " + + "-Wno-sign-compare -DNDEBUG " $objs = ["protobuf.o", "defs.o", "storage.o", "message.o", "repeated_field.o", "map.o", "encode_decode.o", "upb.o"] |