diff options
| author | Jack Nagel | 2014-03-16 23:06:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-16 23:08:22 -0500 |
| commit | 3a9ccec60a7c8633809e66762b753bf1027804bc (patch) | |
| tree | dbcf7143e8e035f71bf36814743421bfbcf3ec7a /Library | |
| parent | d9c098b8d9f8c36f3f495e4e508e87d86501c8e3 (diff) | |
| download | homebrew-3a9ccec60a7c8633809e66762b753bf1027804bc.tar.bz2 | |
Filter out "-mno-dynamic-no-pic"
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 | ||||
| -rw-r--r-- | Library/Formula/valgrind.rb | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 5fb9433b2..e643c4c5f 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -120,7 +120,7 @@ class Cmd /^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp', '-pedantic', '-pedantic-errors' when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', - '-fno-defer-pop', '-fno-check-new' + '-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic' # clang doesn't support these flags args << arg if not tool =~ /^clang/ when /^-W.*/ diff --git a/Library/Formula/valgrind.rb b/Library/Formula/valgrind.rb index 20d5f8628..c664f47a5 100644 --- a/Library/Formula/valgrind.rb +++ b/Library/Formula/valgrind.rb @@ -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} |
