multimedia/avidemux: Fix build on i386

Details:
- Do not unconditionally (and broken on gcc12) use SSE.
This commit is contained in:
Thomas Zander 2022-12-13 20:21:06 +01:00
parent f72163553f
commit ce951d5769
No known key found for this signature in database
GPG Key ID: 856D8ED47C7EAFA5
2 changed files with 19 additions and 2 deletions

View File

@ -73,9 +73,12 @@ OPTIONS_DEFAULT+= LAME FAAC AMR X264
# of the stack)
.if ${ARCH} == amd64
CFLAGS+= -fno-omit-frame-pointer
#MAKE_ENV+= ARCH=x86_64
#CONFIGURE_ENV+= ARCH=x86_64
.endif
.if ${ARCH} == i386
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-i386-nosse
.endif
CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include
CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo

View File

@ -0,0 +1,14 @@
--- avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h.orig 2022-09-17 13:59:16 UTC
+++ avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h
@@ -153,11 +153,6 @@ namespace soundtouch
// efficient autovectorization
typedef float LONG_SAMPLETYPE;
- #ifdef SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS
- // Allow SSE optimizations
- #define SOUNDTOUCH_ALLOW_SSE 1
- #endif
-
#endif // SOUNDTOUCH_INTEGER_SAMPLES
#if ((SOUNDTOUCH_ALLOW_SSE) || (__SSE__) || (SOUNDTOUCH_USE_NEON))