aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorMisty De Meo2014-08-15 20:55:59 -0700
committerMisty De Meo2014-08-15 20:56:06 -0700
commitdb364696046ec9d0a72863434704f41df7b5df10 (patch)
tree97a2a701fa6856c1ec6c8ed212b03b532b5c4612 /Library/ENV
parent66dfe527916e4034dcc095ff7f89cf38706e14a9 (diff)
downloadhomebrew-db364696046ec9d0a72863434704f41df7b5df10.tar.bz2
superenv: filter -Wno-long-double
This flag was supported in gcc-4.0, but not later GCCs or clang. It pops up in older python-configs, and may also come up in other contexts. Fixes mistydemeo/tigerbrew#213.
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 72599abaf..d2b23a964 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -155,7 +155,7 @@ class Cmd
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
- '-pedantic', '-pedantic-errors'
+ '-pedantic', '-pedantic-errors', '-Wno-long-double'
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop',
'-mno-dynamic-no-pic', '-fearly-inlining', /^-f(?:no-)?inline-functions-called-once/,
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',