diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index ccf07278b8..f9f5e61d20 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'