Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
valgrind: always remove mmacosx-min-version
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jacknagel committed Aug 23, 2012
1 parent c59910e commit e755831
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Library/Formula/valgrind.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit e755831

Please sign in to comment.