mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
72da9888b0
commit
7b2d219045
2
configure
vendored
2
configure
vendored
@ -2069,6 +2069,7 @@ elif $cc -v 2>&1 | grep -q 'PathScale\|Path64'; then
|
|||||||
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
||||||
speed_cflags='-O2'
|
speed_cflags='-O2'
|
||||||
size_cflags='-Os'
|
size_cflags='-Os'
|
||||||
|
filter_cflags='filter_out -Wdisabled-optimization'
|
||||||
elif $cc -v 2>&1 | grep -q Open64; then
|
elif $cc -v 2>&1 | grep -q Open64; then
|
||||||
cc_type=open64
|
cc_type=open64
|
||||||
cc_version=__OPEN64__
|
cc_version=__OPEN64__
|
||||||
@ -2077,6 +2078,7 @@ elif $cc -v 2>&1 | grep -q Open64; then
|
|||||||
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
||||||
speed_cflags='-O2'
|
speed_cflags='-O2'
|
||||||
size_cflags='-Os'
|
size_cflags='-Os'
|
||||||
|
filter_cflags='filter_out -Wdisabled-optimization|-Wtype-limits|-fno-signed-zeros'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -n "$cc_type" && enable $cc_type ||
|
test -n "$cc_type" && enable $cc_type ||
|
||||||
|
Loading…
Reference in New Issue
Block a user