Skip to content

Commit

Permalink
Permit the user to specify the C compiler to use via the CC environme…
Browse files Browse the repository at this point in the history
…nt variable.
  • Loading branch information
Seth Fowler authored and wincent committed Feb 21, 2012
1 parent 38f387b commit 9f406c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ruby/command-t/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ def missing item
exit 1
end

RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']

have_header('ruby.h') or missing('ruby.h')
create_makefile('ext')

0 comments on commit 9f406c0

Please sign in to comment.