aboutsummaryrefslogtreecommitdiffstats
path: root/main/ffmpeg/cflags-speed-O2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ffmpeg/cflags-speed-O2.patch')
-rw-r--r--main/ffmpeg/cflags-speed-O2.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/main/ffmpeg/cflags-speed-O2.patch b/main/ffmpeg/cflags-speed-O2.patch
deleted file mode 100644
index d09ca1cbe3..0000000000
--- a/main/ffmpeg/cflags-speed-O2.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-gcc fails if we compile with -O3
-
-libavcodec/sbrdsp.c: In function 'sbr_neg_odd_64_c':
-libavcodec/sbrdsp.c:47:13: internal compiler error: in vect_analyze_data_ref_accesses, at tree-vect-data-refs.c:2596
- static void sbr_neg_odd_64_c(float *x)
- ^
-
-We work around it by using -O2 which is more sane.
-
-http://bugs.alpinelinux.org/issues/5334
-
-diff --git a/configure b/configure
-index 5e788ac..aa34f9b 100755
---- a/configure
-+++ b/configure
-@@ -3795,7 +3795,7 @@ probe_cc(){
- warn "gcc 4.2 is outdated and may miscompile FFmpeg. Please use a newer compiler." ;;
- esac
- fi
-- _cflags_speed='-O3'
-+ _cflags_speed='-O2'
- _cflags_size='-Os'
- elif $_cc --version 2>/dev/null | grep -q ^icc; then
- _type=icc