Sha256: 24f75c0781f8bfcd25dbafc8d1ac51fc1eb690bf1d5be8bb669345d38b4830c1
Contents?: true
Size: 564 Bytes
Versions: 137
Compression:
Stored size: 564 Bytes
Contents
#!/usr/bin/ruby require 'mkmf' if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/ $CFLAGS += " -std=gnu90 -O3 -DNDEBUG -Wall -Wdeclaration-after-statement -Wsign-compare" else $CFLAGS += " -std=gnu90 -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", "defs.o", "storage.o", "message.o", "repeated_field.o", "map.o", "encode_decode.o", "upb.o", "wrap_memcpy.o"] create_makefile("google/protobuf_c")
Version data entries
137 entries across 137 versions & 2 rubygems