From 0c6a6b3932435e8696a182ae79a3e9a87e728b1c Mon Sep 17 00:00:00 2001 From: unak Date: Tue, 23 Apr 2013 20:25:52 +0900 Subject: [PATCH] Get rid of gcc-ism --- ext/yajl/extconf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/yajl/extconf.rb b/ext/yajl/extconf.rb index 439c0eb5..f0c7a00a 100644 --- a/ext/yajl/extconf.rb +++ b/ext/yajl/extconf.rb @@ -1,7 +1,7 @@ require 'mkmf' require 'rbconfig' -$CFLAGS << ' -Wall -funroll-loops' -$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG'] +$CFLAGS << ' -Wall -funroll-loops' unless $mswin +$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG'] && !$mswin create_makefile('yajl/yajl')