diff --git a/ext/c/extconf.rb b/ext/c/extconf.rb index 469c1a8..a482b69 100644 --- a/ext/c/extconf.rb +++ b/ext/c/extconf.rb @@ -5,9 +5,9 @@ have_header('ruby.h') $CFLAGS << ' -Wextra -Wall -pedantic' if ENV['DEBUG'] - $CFLAGS << ' -O0' + $CFLAGS << ' -O0 -g' else - $CFLAGS << ' -O3 -g' + $CFLAGS << ' -O3' end create_makefile('liboga/liboga')