]> git.pld-linux.org Git - packages/protobuf.git/blame - no-wrap-memcpy.patch
- updated to 3.6.1 (note: new sonames; C++11 is obligatory now)
[packages/protobuf.git] / no-wrap-memcpy.patch
CommitLineData
c19d590f
JB
1--- protobuf-3.6.1/ruby/ext/google/protobuf_c/extconf.rb.orig 2018-10-12 18:23:59.206483460 +0200
2+++ protobuf-3.6.1/ruby/ext/google/protobuf_c/extconf.rb 2018-10-12 18:42:35.729804045 +0200
3@@ -3,17 +3,11 @@
d8ccba75
JR
4 require 'mkmf'
5
c19d590f
JB
6 unless RUBY_PLATFORM =~ /mswin|mingw/
7- $CFLAGS += " -std=c99 -O3 -DNDEBUG"
8+ $CFLAGS += " -std=c99 -DNDEBUG"
9 end
d8ccba75
JR
10
11
12-if RUBY_PLATFORM =~ /linux/
13- # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
14- $LDFLAGS += " -Wl,-wrap,memcpy"
15-end
16-
17 $objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
18- "repeated_field.o", "map.o", "encode_decode.o", "upb.o",
19- "wrap_memcpy.o"]
20+ "repeated_field.o", "map.o", "encode_decode.o", "upb.o"]
21
22 create_makefile("google/protobuf_c")
This page took 0.049033 seconds and 4 git commands to generate.