Ignore annoying armcc warnings
authorMåns Rullgård <mans@mansr.com>
Wed, 20 Jan 2010 20:06:11 +0000 (20:06 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 20 Jan 2010 20:06:11 +0000 (20:06 +0000)
Originally committed as revision 21356 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 7a8fc24..dc96d74 100755 (executable)
--- a/configure
+++ b/configure
@@ -2651,6 +2651,9 @@ elif enabled gcc; then
     check_cflags -fno-tree-vectorize
 elif enabled clang; then
     check_cflags -Qunused-arguments
     check_cflags -fno-tree-vectorize
 elif enabled clang; then
     check_cflags -Qunused-arguments
+elif enabled armcc; then
+    # 2523: use of inline assembler is deprecated
+    add_cflags -Wrvct,--diag_suppress=2523
 fi
 
 if enabled gprof; then
 fi
 
 if enabled gprof; then