valgrind: always remove mmacosx-min-version

Needed on 10.6 and 10.8, so I can only assume it is needed on 10.7 as
well.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-08-23 16:12:30 -05:00
parent 676a01e907
commit cd76df3b8a

View file

@ -23,10 +23,8 @@ class Valgrind < Formula
skip_clean 'lib'
def install
# avoid __bzero when building against OS X 10.8 sdk
if MacOS.version >= 10.8
ENV.remove_from_cflags "-mmacosx-version-min=#{MacOS.version}"
end
# avoid undefined symbol __bzero
ENV.remove_from_cflags "-mmacosx-version-min=#{MacOS.version}"
args = ["--prefix=#{prefix}", "--mandir=#{man}"]
if MacOS.prefer_64_bit?