Skip to content

Commit

Permalink
Also allow overriding of CC on OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
frenkel authored Dec 1, 2016
1 parent d08ab68 commit a975c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def using_system_libraries?
do_clean
end

if openbsd?
if openbsd? && !ENV['CC']
unless find_executable 'egcc'
message "please install gcc 4.9+ from ports using `pkg_add -v gcc`\n"
exit! 1
Expand Down

0 comments on commit a975c0d

Please sign in to comment.