diff options
author | Mans Rullgard <mans@mansr.com> | 2011-01-23 23:13:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-26 03:43:28 +0100 |
commit | a98ffb2bc80d627bb0278fdcd4c85923767b5e8a (patch) | |
tree | 53967a0400bba44404e875ba599f8b057b81ade0 /configure | |
parent | 355d05280a96246c60edb00277cb120cf62ba51b (diff) | |
download | ffmpeg-a98ffb2bc80d627bb0278fdcd4c85923767b5e8a.tar.gz |
Add CFLAGS needed by PathScale compiler
The PathScale compiler miscompiles wrapping arithmetic without
these flags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5f3b8314a4a9120e0c6d6f153168c37eb849dbe8)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2988,6 +2988,8 @@ elif enabled armcc; then add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat elif enabled tms470; then add_cflags -pds=824 -pds=837 +elif enabled pathscale; then + add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF fi enabled_any $THREADS_LIST && enable threads |