aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-08-15 20:55:59 -0700
committerMisty De Meo2014-08-15 20:56:06 -0700
commitcb7b9945cdd64ba100db4e803ffbb3832ef13186 (patch)
tree8e141bf7c60a2e157d08b2e1c480520a7f27df0a /Library
parent181654ddafbc3989cd989d0b4edb5dc35a8d9bbc (diff)
downloadbrew-cb7b9945cdd64ba100db4e803ffbb3832ef13186.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')
-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',