Skip to content

Commit

Permalink
Filter out "-mno-dynamic-no-pic"
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Mar 17, 2014
1 parent 49d02c1 commit 8486033
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Formula/valgrind.rb
Expand Up @@ -50,15 +50,6 @@ class Valgrind < Formula
end if MacOS.version == :mavericks

def install
if (build.head? || MacOS.version == :mavericks) && ENV.compiler == :clang
# Clang does not support '-mno-dynamic-no-pic'. Before clang 3.4,
# this is simply a warning, however, with clang 3.4 and later,
# this becomes a fatal error.
#
# Reported upstream in https://bugs.kde.org/show_bug.cgi?id=330257
inreplace 'Makefile.all.am', '-mno-dynamic-no-pic', ''
end

args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
Expand Down

0 comments on commit 8486033

Please sign in to comment.