diff options
author | Mans Rullgard <mans@mansr.com> | 2011-01-23 23:13:33 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-24 01:59:15 +0000 |
commit | 5f3b8314a4a9120e0c6d6f153168c37eb849dbe8 (patch) | |
tree | 0dbf8e3222753997f34df398d01fe566a07af0af /configure | |
parent | a1e4b3f6d322f61fc8ccae6ecd2586e04ceb7026 (diff) | |
download | ffmpeg-5f3b8314a4a9120e0c6d6f153168c37eb849dbe8.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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2987,6 +2987,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 |