diff options
author | 2016-09-08 07:16:34 -0700 | |
---|---|---|
committer | 2016-09-08 07:16:34 -0700 | |
commit | ebfcd97940e6688a37c36cdeac87da3196ce1a9b (patch) | |
tree | fa284a70c6857e2cbb9aa127d109ba9f7e434798 /src/ruby/ext | |
parent | 9717e5fe93a5b6d0042b43369655bb696a86bb9f (diff) | |
parent | 47b2961638328d29577361c3cb4dec5ab5bab537 (diff) |
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
Diffstat (limited to 'src/ruby/ext')
-rw-r--r-- | src/ruby/ext/grpc/extconf.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb index 6d65db8306..66c54aa3e0 100644 --- a/src/ruby/ext/grpc/extconf.rb +++ b/src/ruby/ext/grpc/extconf.rb @@ -91,6 +91,10 @@ if grpc_config == 'gcov' $LDFLAGS << ' -fprofile-arcs -ftest-coverage -rdynamic' end +if grpc_config == 'dbg' + $CFLAGS << ' -O0' +end + $LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/ $LDFLAGS << ' -static' if windows |