Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1115 from zenspider/osx-archflags

Fix for stock ruby 2.0.0 on osx 10.9. Fixes #1101.
  • Loading branch information...
commit a1776955ad066a28ab7fb7c659cfc9fa0925a1ef 2 parents 0104f62 + d9b63d2
@tenderlove tenderlove authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  ext/nokogiri/extconf.rb
View
3  ext/nokogiri/extconf.rb
@@ -311,6 +311,9 @@ def patch
$CFLAGS << " -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF"
when /solaris/
$CFLAGS << " -DUSE_INCLUDED_VASPRINTF"
+when /darwin/
+ # TODO: maybe make it stricter to only work on stock ruby? How to tell?
+ $CFLAGS << " -Wno-error=unused-command-line-argument-hard-error-in-future"
else
$CFLAGS << " -g -DXP_UNIX"
end
Please sign in to comment.
Something went wrong with that request. Please try again.