mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-02 22:17:01 +08:00
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
This commit is contained in:
3
configure
vendored
3
configure
vendored
@ -1881,9 +1881,6 @@ enabled spic && enable pic
|
|||||||
case $target_os in
|
case $target_os in
|
||||||
beos|haiku|zeta)
|
beos|haiku|zeta)
|
||||||
prefix_default="$HOME/config"
|
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
|
# 3 gcc releases known for BeOS, each with ugly bugs
|
||||||
gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f3-)"
|
gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f3-)"
|
||||||
case "$gcc_version" in
|
case "$gcc_version" in
|
||||||
|
Reference in New Issue
Block a user