Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 9 Nov 2009 17:05:38 +0000 (17:05 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 9 Nov 2009 17:05:38 +0000 (17:05 +0000)
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

configure

index 65c1528..eb993d3 100755 (executable)
--- 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