]> git.pld-linux.org Git - packages/protobuf.git/blame - no-wrap-memcpy.patch
- stop messing with memcpy version, we don't care and it breaks build on x32
[packages/protobuf.git] / no-wrap-memcpy.patch
CommitLineData
d8ccba75
JR
1--- protobuf-3.5.1.1/ruby/ext/google/protobuf_c/extconf.rb~ 2018-01-05 22:42:10.000000000 +0100
2+++ protobuf-3.5.1.1/ruby/ext/google/protobuf_c/extconf.rb 2018-06-06 08:25:28.643970843 +0200
3@@ -2,16 +2,10 @@
4
5 require 'mkmf'
6
7-$CFLAGS += " -std=c99 -O3 -DNDEBUG"
8+$CFLAGS += " -std=c99 -DNDEBUG"
9
10
11-if RUBY_PLATFORM =~ /linux/
12- # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
13- $LDFLAGS += " -Wl,-wrap,memcpy"
14-end
15-
16 $objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
17- "repeated_field.o", "map.o", "encode_decode.o", "upb.o",
18- "wrap_memcpy.o"]
19+ "repeated_field.o", "map.o", "encode_decode.o", "upb.o"]
20
21 create_makefile("google/protobuf_c")
This page took 0.037386 seconds and 4 git commands to generate.