Dash:
[t2.git] / package / audio / sbc / hotfix-non-x86.patch
blob69644fba66da3e26024d82772518ad9d38d09e44
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/sbc/hotfix-non-x86.patch
3 # Copyright (C) 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- sbc-1.5/sbc/sbc_primitives.c.vanilla 2021-10-06 13:40:46.357688186 +0200
15 +++ sbc-1.5/sbc/sbc_primitives.c 2021-10-06 13:42:01.580685187 +0200
16 @@ -593,7 +593,9 @@
18 static void sbc_init_primitives_x86(struct sbc_encoder_state *state)
20 +#if SBC_BUILD_WITH_MMX_SUPPORT == 1 || SBC_BUILD_WITH_MMX_SUPPORT == 1
21 __builtin_cpu_init();
22 +#endif
24 #ifdef SBC_BUILD_WITH_MMX_SUPPORT
25 if (__builtin_cpu_supports("mmx"))