From cb7b9945cdd64ba100db4e803ffbb3832ef13186 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Fri, 15 Aug 2014 20:55:59 -0700 Subject: [PATCH] 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. --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 72599abafe..d2b23a9641 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',