Permalink
Browse files

Uname? Really?

  • Loading branch information...
1 parent b1359e2 commit e07a90c8fa8f827433e0e96d1c3fff0fa38a24ed @jbarnette committed Sep 15, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/spidermonkey/extconf.rb
@@ -1,5 +1,4 @@
-# this needs to happen before mkmf is required
-ENV["ARCHFLAGS"] = "-arch #{`uname -p` =~ /powerpc/ ? 'ppc' : 'i386'}"
+ENV["RC_ARCHS"] = "" if RUBY_PLATFORM =~ /darwin/
require "find"
require "mkmf"

0 comments on commit e07a90c

Please sign in to comment.