Sha256: c728c6a0c9f32590f1cc0f27e073ede81920a1d3fe5ebf50017723d4d44ee061
Contents?: true
Size: 564 Bytes
Versions: 174
Compression:
Stored size: 564 Bytes
Contents
#!/usr/bin/ruby require 'mkmf' if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/ $CFLAGS += " -std=gnu99 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement" else $CFLAGS += " -std=gnu99 -O3 -DNDEBUG" end if RUBY_PLATFORM =~ /linux/ # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper. $LDFLAGS += " -Wl,-wrap,memcpy" end $objs = ["protobuf.o", "convert.o", "defs.o", "message.o", "repeated_field.o", "map.o", "ruby-upb.o", "wrap_memcpy.o"] create_makefile("google/protobuf_c")
Version data entries
174 entries across 174 versions & 1 rubygems