mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
ffmpeg: gcc2 seems to produce crashing code with -O3, switch to -O2.
This commit is contained in:
@@ -210,8 +210,8 @@ index e1ba799..3820056 100644
|
|||||||
av_log(c, AV_LOG_ERROR, "unsupported planar RGB conversion %s -> %s\n",
|
av_log(c, AV_LOG_ERROR, "unsupported planar RGB conversion %s -> %s\n",
|
||||||
av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat));
|
av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat));
|
||||||
diff --git a/configure b/configure
|
diff --git a/configure b/configure
|
||||||
--- ffmpeg-0.10/configure 2012-01-26 22:15:59.035389440 +0000
|
--- ffmpeg-0.10/configure 2012-01-26 22:15:59.047710208 +0000
|
||||||
+++ ffmpeg-0.10/configure 2012-03-20 00:55:05.090963968 +0000
|
+++ ffmpeg-0.10-haiku/configure 2012-03-28 22:30:34.330563584 +0000
|
||||||
@@ -1359,7 +1359,6 @@
|
@@ -1359,7 +1359,6 @@
|
||||||
|
|
||||||
aligned_stack_if_any="ppc x86"
|
aligned_stack_if_any="ppc x86"
|
||||||
@@ -220,6 +220,15 @@ diff --git a/configure b/configure
|
|||||||
fast_unaligned_if_any="armv6 ppc x86"
|
fast_unaligned_if_any="armv6 ppc x86"
|
||||||
|
|
||||||
inline_asm_deps="!tms470"
|
inline_asm_deps="!tms470"
|
||||||
|
@@ -1866,7 +1865,7 @@
|
||||||
|
CC_O='-o $@'
|
||||||
|
CXX_O='-o $@'
|
||||||
|
|
||||||
|
-host_cflags='-D_ISOC99_SOURCE -O3 -g'
|
||||||
|
+host_cflags='-D_ISOC99_SOURCE -O2 -g'
|
||||||
|
host_libs='-lm'
|
||||||
|
|
||||||
|
target_path='$(CURDIR)'
|
||||||
@@ -1948,6 +1947,7 @@
|
@@ -1948,6 +1947,7 @@
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -228,6 +237,15 @@ diff --git a/configure b/configure
|
|||||||
|
|
||||||
die_unknown(){
|
die_unknown(){
|
||||||
echo "Unknown option \"$1\"."
|
echo "Unknown option \"$1\"."
|
||||||
|
@@ -2144,7 +2144,7 @@
|
||||||
|
CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
||||||
|
AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
|
||||||
|
fi
|
||||||
|
- speed_cflags='-O3'
|
||||||
|
+ speed_cflags='-O2'
|
||||||
|
size_cflags='-Os'
|
||||||
|
elif $cc --version 2>/dev/null | grep -q Intel; then
|
||||||
|
cc_type=icc
|
||||||
@@ -2831,10 +2831,6 @@
|
@@ -2831,10 +2831,6 @@
|
||||||
struct { int x; } __attribute__((packed)) x;
|
struct { int x; } __attribute__((packed)) x;
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user