[SCM] libav/experimental: Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway, and -DPIC makes little sense without -fPIC or similar - if -fPIC is enabled by default, libavutil/internal.h defines PICi anyway.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:54:14 UTC 2013


The following commit has been merged in the experimental branch:
commit f6e8140941c5b8fd7c868f2cce6b0527ff1f7c49
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Mon Nov 9 17:05:38 2009 +0000

    Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
    and -DPIC makes little sense without -fPIC or similar - if -fPIC is
    enabled by default, libavutil/internal.h defines PICi anyway.
    
    Originally committed as revision 20486 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 65c1528..eb993d3 100755
--- a/configure
+++ b/configure
@@ -1881,9 +1881,6 @@ enabled spic && enable pic
 case $target_os in
     beos|haiku|zeta)
         prefix_default="$HOME/config"
-        # helps building libavcodec
-        add_cppflags -DPIC
-        add_cflags -fomit-frame-pointer
         # 3 gcc releases known for BeOS, each with ugly bugs
         gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f3-)"
         case "$gcc_version" in

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list