Skip to content

Commit

Permalink
Only apply -Wall for GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett N. DiFrischia authored and Brett N. DiFrischia committed Oct 27, 2014
1 parent e4d59a3 commit 2095cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'mkmf'

# warnings save lives
$CFLAGS << " -Wall "
$CFLAGS << " -Wall " if RbConfig::CONFIG['GCC'] != ""

if RUBY_PLATFORM =~ /(mswin|mingw|cygwin|bccwin)/
File.open('Makefile','w'){|f| f.puts "default: \ninstall: " }
Expand Down

0 comments on commit 2095cda

Please sign in to comment.