blob: 19fddc4b6a63ee92d69c562553fa54bdefea02bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Using builder flags
--- a/ruby/ext/google/protobuf_c/extconf.rb 2021-10-05 00:43:33.000000000 +0000
+++ b/ruby/ext/google/protobuf_c/extconf.rb 2021-10-06 12:04:49.732008151 +0000
@@ -3,9 +3,9 @@
require 'mkmf'
if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
- $CFLAGS += " -std=gnu99 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement"
+ $CFLAGS += " -std=gnu99 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement"
else
- $CFLAGS += " -std=gnu99 -O3 -DNDEBUG"
+ $CFLAGS += " -std=gnu99 -DNDEBUG"
end
|