ponyc: minor fixes

Removes a now non-existent option for the llvm formula, and ensures
that `ponyc` builds in a release configuration.

Closes Homebrew/homebrew#39892.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Alexander Altman 2015-05-18 18:28:41 -07:00 committed by Xu Cheng
parent 38468c22b8
commit 286eb10cb1

View file

@ -9,12 +9,12 @@ class Ponyc < Formula
sha256 "43803911eaf9e1a82a80af581445b65faa56826490602aff4a12cb1b44c51942" => :mountain_lion
end
depends_on "llvm" => ["with-rtti", "without-shared"]
depends_on "llvm" => "with-rtti"
needs :cxx11
def install
ENV.cxx11
system "make", "install", "destdir=#{prefix}"
system "make", "install", "config=release", "destdir=#{prefix}"
end
test do