1 --- protobuf-3.11.4/ruby/ext/google/protobuf_c/extconf.rb~ 2020-02-14 21:13:37.000000000 +0100
2 +++ protobuf-3.11.4/ruby/ext/google/protobuf_c/extconf.rb 2020-04-07 22:56:24.419874091 +0200
6 if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
7 - $CFLAGS += " -std=gnu90 -O3 -DNDEBUG -Wall -Wdeclaration-after-statement -Wsign-compare"
8 + $CFLAGS += " -std=gnu90 -DNDEBUG -Wall -Wdeclaration-after-statement -Wsign-compare"
10 - $CFLAGS += " -std=gnu90 -O3 -DNDEBUG"
11 + $CFLAGS += " -std=gnu90 -DNDEBUG"
15 if RUBY_PLATFORM =~ /linux/
16 - # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
17 - $LDFLAGS += " -Wl,-wrap,memcpy"
18 + $LDFLAGS += " -std=c99 -DNDEBUG"
21 $objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
22 - "repeated_field.o", "map.o", "encode_decode.o", "upb.o",
24 + "repeated_field.o", "map.o", "encode_decode.o", "upb.o" ]
26 create_makefile("google/protobuf_c")