Index: third_party/protobuf/ruby/ext/google/protobuf_c/extconf.rb |
diff --git a/third_party/protobuf/ruby/ext/google/protobuf_c/extconf.rb b/third_party/protobuf/ruby/ext/google/protobuf_c/extconf.rb |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b368dcc6c7430331d8ef533560a3afe02d182e42 |
--- /dev/null |
+++ b/third_party/protobuf/ruby/ext/google/protobuf_c/extconf.rb |
@@ -0,0 +1,10 @@ |
+#!/usr/bin/ruby |
+ |
+require 'mkmf' |
+ |
+$CFLAGS += " -std=c99 -O3 -DNDEBUG" |
+ |
+$objs = ["protobuf.o", "defs.o", "storage.o", "message.o", |
+ "repeated_field.o", "map.o", "encode_decode.o", "upb.o"] |
+ |
+create_makefile("google/protobuf_c") |