diff options
| author | Max Howell | 2012-09-02 11:44:23 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-02 23:10:06 -0400 |
| commit | 88b1da7405c0a9ad9b94026c5bc88ec4016d0557 (patch) | |
| tree | 17b1bd5d4b6fafd3ccec6ee75f7d26d2cc383001 /Library | |
| parent | b97c0919f8e6758adf0982accfc94d14e42b8469 (diff) | |
| download | brew-88b1da7405c0a9ad9b94026c5bc88ec4016d0557.tar.bz2 | |
Remove -fopenmp *and* -lgomp
Apparently LLVM can use these, so only remove if clang.
Refs Homebrew/homebrew#14569.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index ec53fe882..c37d80b9b 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -100,9 +100,9 @@ class Cmd %r{^-[IL]/opt/local}, %r{^-[IL]/sw}, # no macports/fink %r{^-[IL]/usr/X11}, %r{^-[IL]/opt/X11}, # we add X11 ourselves '-pedantic', '-pedantic-errors' - when /^-fopenmp/ - # remove this arg: it fails the build with: - # ld: library not found for -lgomp + when '-fopenmp', '-lgomp' + # clang doesn't support OpenMP + args << arg if not tool =~ /^clang/ when /^-W.*/ args << arg if arg =~ /^-Wl,/ when '-macosx_version_min', '-dylib_install_name' |
