From 5802d9d62c48bacba676fb6310a4378373681108 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Mon, 23 Mar 2015 19:46:30 +0100 Subject: [PATCH] Use RbConfig::CONFIG['CC'] vs 'cc' --- ext/c/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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