mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
47c572462f
Add a patch to fix compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
13 lines
307 B
Diff
13 lines
307 B
Diff
--- a/sbc/sbc_primitives.c
|
|
+++ b/sbc/sbc_primitives.c
|
|
@@ -593,7 +593,9 @@ static int sbc_calc_scalefactors_j(
|
|
|
|
static void sbc_init_primitives_x86(struct sbc_encoder_state *state)
|
|
{
|
|
+#ifdef __x86__
|
|
__builtin_cpu_init();
|
|
+#endif
|
|
|
|
#ifdef SBC_BUILD_WITH_MMX_SUPPORT
|
|
if (__builtin_cpu_supports("mmx"))
|