Suppress TMS470 warnings about alignment directives
authorMåns Rullgård <mans@mansr.com>
Fri, 22 Jan 2010 03:25:27 +0000 (03:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 22 Jan 2010 03:25:27 +0000 (03:25 +0000)
Originally committed as revision 21380 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 2b0e35aba34ffd0b9b9a3268d949747f66463dbc..230d86952a55b88c3bfd12b54b11064245f9d811 100755 (executable)
--- a/configure
+++ b/configure
@@ -1696,6 +1696,7 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
                 -Os)            echo -O3 -mf=2                    ;;
                 -O[0-3])        echo $flag -mf=5                  ;;
                 -g)             echo -g -mn                       ;;
                 -Os)            echo -O3 -mf=2                    ;;
                 -O[0-3])        echo $flag -mf=5                  ;;
                 -g)             echo -g -mn                       ;;
+                -pds=*)         echo $flag                        ;;
             esac
         done
     }
             esac
         done
     }
@@ -2648,6 +2649,8 @@ elif enabled clang; then
 elif enabled armcc; then
     # 2523: use of inline assembler is deprecated
     add_cflags -Wrvct,--diag_suppress=2523
 elif enabled armcc; then
     # 2523: use of inline assembler is deprecated
     add_cflags -Wrvct,--diag_suppress=2523
+elif enabled tms470; then
+    add_cflags -pds=824 -pds=837
 fi
 
 if enabled gprof; then
 fi
 
 if enabled gprof; then