Skip to content

Commit 92bb8a8

Browse files
committed
Try -O0
1 parent 906fa01 commit 92bb8a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/msgpack/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
have_func("rb_hash_new_capa", "ruby.h") # Ruby 3.2+
77

88
unless RUBY_PLATFORM.include? 'mswin'
9-
$CFLAGS << %[ -I.. -Wall -O3 #{RbConfig::CONFIG["debugflags"]} -std=gnu99]
9+
$CFLAGS << %[ -I.. -Wall -O0 -g #{RbConfig::CONFIG["debugflags"]} -std=gnu99]
1010
end
1111

1212
if RUBY_VERSION.start_with?('3.0.')

0 commit comments

Comments
 (0)