1 --- protobuf-3.7.0/ruby/ext/google/protobuf_c/extconf.rb 2019-03-12 12:41:06.025000000 +0100
2 +++ protobuf-3.7.0/ruby/ext/google/protobuf_c/extconf.rb 2019-03-12 12:42:04.062000000 +0100
4 if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
5 # XOPEN_SOURCE needed for strptime:
6 # https://stackoverflow.com/questions/35234152/strptime-giving-implicit-declaration-and-undefined-reference
7 - $CFLAGS += " -std=c99 -O3 -DNDEBUG -D_XOPEN_SOURCE=700"
8 + $CFLAGS += " -std=c99 -DNDEBUG -D_XOPEN_SOURCE=700"
10 - $CFLAGS += " -std=c99 -O3 -DNDEBUG"
14 -if RUBY_PLATFORM =~ /linux/
15 - # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
16 - $LDFLAGS += " -Wl,-wrap,memcpy"
17 + $CFLAGS += " -std=c99 -DNDEBUG"
20 $objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
21 - "repeated_field.o", "map.o", "encode_decode.o", "upb.o",
23 + "repeated_field.o", "map.o", "encode_decode.o", "upb.o" ]
25 create_makefile("google/protobuf_c")