diff options
| author | Jack Nagel | 2013-01-22 23:52:20 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-23 00:18:01 -0600 |
| commit | b82c96b08500ff9f9e7674fbf6366fc3ad440dc0 (patch) | |
| tree | c30219328312d6f9cb3421d13f98dba233837680 /Library/ENV | |
| parent | 21efd0803cc1eae9912fdd12bd5ed440959c75ff (diff) | |
| download | homebrew-b82c96b08500ff9f9e7674fbf6366fc3ad440dc0.tar.bz2 | |
superenv: allow -W[alp], style arguments to pass through
We already (correctly) allow -Wl, style linker arguments to pass
through; extend this to -Wp, (preprocessor) and -Wa, (assembler).
Fixes #17252.
Diffstat (limited to 'Library/ENV')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 4cfa6c856..a7317abf8 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -109,7 +109,7 @@ class Cmd # clang doesn't support OpenMP args << arg if not tool =~ /^clang/ when /^-W.*/ - args << arg if arg =~ /^-Wl,/ + args << arg if arg =~ /^-W[alp],/ when '-macosx_version_min', '-dylib_install_name' args << "-Wl,#{arg},#{whittler.next}" when '-dylib' |
