1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/main/protobuf/ruby-fix-cflags.patch
Milan P. Stanić 3cac3dd941 main/protobuf: upgrade to 3.18.1
remove musl-fix.patch, fixed upstream
refactor trim-rakefile.patch, skip-failing-tests.patch and
ruby-fix-cflags.patch
2021-10-06 16:27:04 +00:00

16 lines
592 B
Diff

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