aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/extconf.rb
blob: 74203b070b51d62afdf5a5a00d5bc54e7e3167d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ruby

require 'mkmf'

$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"]

create_makefile("google/protobuf_c")