Only include debug info when DEBUG is set.

This commit is contained in:
Yorick Peterse 2014-05-15 20:43:48 +02:00
parent fd2f727183
commit ad67cd708f
1 changed files with 2 additions and 2 deletions

View File

@ -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')