sqlite-analyzer: build without Integer overflow builtins on Yosemite

Closes #9931.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
Alexander Hamann 2017-02-19 09:32:38 +01:00 committed by Alex Dunn
parent 1562869c3a
commit 32909130f6

View file

@ -13,6 +13,7 @@ class SqliteAnalyzer < Formula
end
def install
ENV.append "CPPFLAGS", "-DSQLITE_DISABLE_INTRINSIC" if MacOS.version <= :yosemite && ENV.compiler == :clang
system "./configure", "--disable-debug", "--prefix=#{prefix}"
system "make", "sqlite3_analyzer"
bin.install "sqlite3_analyzer"