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:
parent
676a01e907
commit
cd76df3b8a
1 changed files with 2 additions and 4 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue