aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext/google/protobuf_c/extconf.rb
blob: 7cf7bf6a218da6e963d06b2187b6afac9e4f304b (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/ruby

require 'mkmf'

$CFLAGS += " -O3 -std=c99 -Wno-unused-function -DNDEBUG "

$objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
         "repeated_field.o", "encode_decode.o", "upb.o"]

create_makefile("google/protobuf_c")