[FFmpeg-cvslog] path64/open64: filter out unsupported flags
Mans Rullgard
git at videolan.org
Mon Jun 20 04:10:27 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jun 19 18:03:21 2011 +0100| [7b2d219045330494a2391beb6571ee1b25fc422d] | committer: 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: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b2d219045330494a2391beb6571ee1b25fc422d
---
configure | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 2a1883b..31e82fc 100755
--- a/configure
+++ b/configure
@@ -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 ||
More information about the ffmpeg-cvslog
mailing list