diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-06-09 11:08:25 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-06-09 11:08:25 -0700 |
commit | e3ce451b6047941cd574d3f70a7e4c2d150c6f20 (patch) | |
tree | ab828174fafb210acfebe2e2ccb3353c46faf832 /ruby/ext/google/protobuf_c/extconf.rb | |
parent | e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832 (diff) | |
download | protobuf-e3ce451b6047941cd574d3f70a7e4c2d150c6f20.tar.gz protobuf-e3ce451b6047941cd574d3f70a7e4c2d150c6f20.tar.bz2 protobuf-e3ce451b6047941cd574d3f70a7e4c2d150c6f20.zip |
Fixed compiler warnings and added -std=c99.
upb no longer requires -std=c99 but the Ruby/C
code still uses C99 features.
Diffstat (limited to 'ruby/ext/google/protobuf_c/extconf.rb')
-rw-r--r-- | ruby/ext/google/protobuf_c/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/extconf.rb b/ruby/ext/google/protobuf_c/extconf.rb index 9675f57f..b368dcc6 100644 --- a/ruby/ext/google/protobuf_c/extconf.rb +++ b/ruby/ext/google/protobuf_c/extconf.rb @@ -2,7 +2,7 @@ require 'mkmf' -$CFLAGS += " -O3 -DNDEBUG" +$CFLAGS += " -std=c99 -O3 -DNDEBUG" $objs = ["protobuf.o", "defs.o", "storage.o", "message.o", "repeated_field.o", "map.o", "encode_decode.o", "upb.o"] |