提交 7b2d2190 编写于 作者: M Mans Rullgard

path64/open64: filter out unsupported flags

These flags are accepted without error but produce an annoying
warning.  Filtering them out makes the build less noisy.
Signed-off-by: NMans Rullgard <mans@mansr.com>
上级 72da9888
......@@ -2069,6 +2069,7 @@ elif $cc -v 2>&1 | grep -q 'PathScale\|Path64'; then
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
speed_cflags='-O2'
size_cflags='-Os'
filter_cflags='filter_out -Wdisabled-optimization'
elif $cc -v 2>&1 | grep -q Open64; then
cc_type=open64
cc_version=__OPEN64__
......@@ -2077,6 +2078,7 @@ elif $cc -v 2>&1 | grep -q Open64; then
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
speed_cflags='-O2'
size_cflags='-Os'
filter_cflags='filter_out -Wdisabled-optimization|-Wtype-limits|-fno-signed-zeros'
fi
test -n "$cc_type" && enable $cc_type ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册