Skip to content

Commit

Permalink
Orc: fix compiling on 32-bit machines
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Dec 3, 2011
1 parent b714d44 commit 19c4457
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Library/Formula/orc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ class Orc < Formula
md5 'e482932e544c847761449b106ecbc483'

def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
# Fix compiling on 32 bit systems. See:
# https://trac.macports.org/ticket/26881
# https://github.com/mxcl/homebrew/issues/8848
ENV["CFLAGS"] = "-Xarch_i386 -O1" #if Hardware.is_32_bit?

system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gtk-doc"
system "make install"
Expand Down

0 comments on commit 19c4457

Please sign in to comment.