e3ce451b60
upb no longer requires -std=c99 but the Ruby/C code still uses C99 features.
11 lines
233 B
Ruby
11 lines
233 B
Ruby
#!/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")
|