diff --git a/ext/c/extconf.rb b/ext/c/extconf.rb index 0041a56..36275ae 100644 --- a/ext/c/extconf.rb +++ b/ext/c/extconf.rb @@ -1,6 +1,6 @@ require 'mkmf' -if RbConfig::CONFIG['cc'] =~ /clang|gcc/ +if RbConfig::CONFIG['CC'] =~ /clang|gcc/ $CFLAGS << ' -pedantic' end