mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
This commit is contained in:
parent
9f9c322930
commit
31ba0b4d7f
10
configure
vendored
10
configure
vendored
@ -75,6 +75,16 @@ BeOS)
|
|||||||
prefix="/boot/home/config"
|
prefix="/boot/home/config"
|
||||||
# helps building libavcodec
|
# helps building libavcodec
|
||||||
CFLAGS="-O3 -DPIC -fomit-frame-pointer"
|
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
|
SHFLAGS=-nostart
|
||||||
# disable linux things
|
# disable linux things
|
||||||
audio_oss="no"
|
audio_oss="no"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user