Skip to content
Snippets Groups Projects
Commit a98ffb2b authored by Mans Rullgard's avatar Mans Rullgard Committed by Michael Niedermayer
Browse files

Add CFLAGS needed by PathScale compiler


The PathScale compiler miscompiles wrapping arithmetic without
these flags.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
(cherry picked from commit 5f3b8314)
parent 355d0528
No related branches found
No related tags found
No related merge requests found
...@@ -2988,6 +2988,8 @@ elif enabled armcc; then ...@@ -2988,6 +2988,8 @@ elif enabled armcc; then
add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat
elif enabled tms470; then elif enabled tms470; then
add_cflags -pds=824 -pds=837 add_cflags -pds=824 -pds=837
elif enabled pathscale; then
add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
fi fi
enabled_any $THREADS_LIST && enable threads enabled_any $THREADS_LIST && enable threads
......
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