Updated extconf.rb for Windows support
This commit is contained in:
parent
076d82507a
commit
2bf5fe3061
|
@ -1,13 +1,11 @@
|
|||
require 'mkmf'
|
||||
|
||||
have_header('ruby.h')
|
||||
|
||||
$CFLAGS << ' -Wextra -Wall -pedantic'
|
||||
if RbConfig::CONFIG['cc'] =~ /clang|gcc/
|
||||
$CFLAGS << ' -pedantic'
|
||||
end
|
||||
|
||||
if ENV['DEBUG']
|
||||
$CFLAGS << ' -O0 -g'
|
||||
else
|
||||
$CFLAGS << ' -O3'
|
||||
end
|
||||
|
||||
create_makefile('liboga')
|
||||
|
|
Loading…
Reference in New Issue