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.
This commit is contained in:
Misty De Meo 2014-08-15 20:55:59 -07:00
parent 181654ddaf
commit cb7b9945cd

View File

@ -155,7 +155,7 @@ class Cmd
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2', when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/, /^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp', /^-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', when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop',
'-mno-dynamic-no-pic', '-fearly-inlining', /^-f(?:no-)?inline-functions-called-once/, '-mno-dynamic-no-pic', '-fearly-inlining', /^-f(?:no-)?inline-functions-called-once/,
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks', /^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',