[SCM] libav/experimental: Add CFLAGS needed by PathScale compiler

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:22:32 UTC 2013


The following commit has been merged in the experimental branch:
commit 5f3b8314a4a9120e0c6d6f153168c37eb849dbe8
Author: Mans Rullgard <mans at mansr.com>
Date:   Sun Jan 23 23:13:33 2011 +0000

    Add CFLAGS needed by PathScale compiler
    
    The PathScale compiler miscompiles wrapping arithmetic without
    these flags.
    
    Signed-off-by: Mans Rullgard <mans at mansr.com>

diff --git a/configure b/configure
index 4c24152..7854659 100755
--- a/configure
+++ b/configure
@@ -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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list