diff options
author | François Revol <revol@free.fr> | 2002-11-02 21:05:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-11-02 21:05:54 +0000 |
commit | 31ba0b4d7f4241916fd0f98e22ad97cb5aeacc90 (patch) | |
tree | 8d0bdca252e3584c1c12b1b999a04d05736c9edd | |
parent | 9f9c322930d4b6758c5f24426405d5017d9bd168 (diff) | |
download | ffmpeg-31ba0b4d7f4241916fd0f98e22ad97cb5aeacc90.tar.gz |
gcc optimization on BeOS (patch by François Revol <revol at free dot fr>)
Originally committed as revision 1151 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -75,6 +75,16 @@ BeOS) prefix="/boot/home/config" # helps building libavcodec CFLAGS="-O3 -DPIC -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 +2.9-beos-991026*|2.9-beos-000224*) echo "R5/GG gcc" +mmx="no" +;; +*20010315*) echo "BeBits gcc" +CFLAGS="$CFLAGS -fno-expensive-optimizations" +;; +esac SHFLAGS=-nostart # disable linux things audio_oss="no" |