Skip to content
Snippets Groups Projects
Commit 587d24ff authored by Måns Rullgård's avatar Måns Rullgård
Browse files

Suppress TMS470 warnings about alignment directives

Originally committed as revision 21380 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 34e52abb
No related branches found
No related tags found
No related merge requests found
...@@ -1696,6 +1696,7 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then ...@@ -1696,6 +1696,7 @@ elif $cc -version 2>/dev/null | grep -q TMS470; then
-Os) echo -O3 -mf=2 ;; -Os) echo -O3 -mf=2 ;;
-O[0-3]) echo $flag -mf=5 ;; -O[0-3]) echo $flag -mf=5 ;;
-g) echo -g -mn ;; -g) echo -g -mn ;;
-pds=*) echo $flag ;;
esac esac
done done
} }
...@@ -2648,6 +2649,8 @@ elif enabled clang; then ...@@ -2648,6 +2649,8 @@ elif enabled clang; then
elif enabled armcc; then elif enabled armcc; then
# 2523: use of inline assembler is deprecated # 2523: use of inline assembler is deprecated
add_cflags -Wrvct,--diag_suppress=2523 add_cflags -Wrvct,--diag_suppress=2523
elif enabled tms470; then
add_cflags -pds=824 -pds=837
fi fi
if enabled gprof; then if enabled gprof; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment