diff options
| author | Max Howell | 2012-08-31 12:05:45 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-31 13:29:46 -0400 |
| commit | 282313c68fe4f8fbe11e69cdd2b8d7505735964b (patch) | |
| tree | e258319d5b1faa0e9e6d0fb2fad084c71b70af91 /Library | |
| parent | 9b01e7cd280f1bc12d0b8050a349af4014ec7ffc (diff) | |
| download | brew-282313c68fe4f8fbe11e69cdd2b8d7505735964b.tar.bz2 | |
Remove -fopenmp, fix pixman
Possibly this is not wise, but with -fopenmp -lgomp is automatically added by the toolchain, and I didn't have -lgomp.
Ideally we'd detect when this will work and then leave it in there.
/cc @sharpie @mikemcquaid @jacknagel
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index ccf07278b..f9f5e61d2 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -100,6 +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 /^-W.*/ args << arg if arg =~ /^-Wl,/ when '-macosx_version_min', '-dylib_install_name' |
