Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Uname? Really?
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarnette committed Sep 15, 2009
1 parent b1359e2 commit e07a90c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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"
Expand Down

0 comments on commit e07a90c

Please sign in to comment.