diff options
| author | Max Howell | 2012-09-02 11:44:23 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-02 23:10:06 -0400 |
| commit | 083229f777680f9ef8f9c17a0da969c51eb62173 (patch) | |
| tree | 6eb1071418f3ad3a236cfdbae589142cabaf1c9c /Library/ENV | |
| parent | 5414d157d6da955e80dc11dd75d8c1efc7ffaf74 (diff) | |
| download | homebrew-083229f777680f9ef8f9c17a0da969c51eb62173.tar.bz2 | |
Remove -fopenmp *and* -lgomp
Apparently LLVM can use these, so only remove if clang.
Refs #14569.
Diffstat (limited to 'Library/ENV')
| -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' |
