mirror of
https://github.com/xiph/opus.git
synced 2025-06-07 16:00:56 +00:00
tests: fix linking for --enable-fixed-point on ARM
This commit is contained in:
parent
32ff38bc8a
commit
fd562eefa2
3 changed files with 14 additions and 0 deletions
10
Makefile.am
10
Makefile.am
|
@ -106,12 +106,22 @@ celt_tests_test_unit_laplace_LDADD = $(LIBM)
|
||||||
|
|
||||||
celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c
|
celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c
|
||||||
celt_tests_test_unit_mathops_LDADD = $(LIBM)
|
celt_tests_test_unit_mathops_LDADD = $(LIBM)
|
||||||
|
if CPU_ARM
|
||||||
|
if OPUS_ARM_EXTERNAL_ASM
|
||||||
|
celt_tests_test_unit_mathops_LDADD += libopus.la
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c
|
celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c
|
||||||
celt_tests_test_unit_mdct_LDADD = $(LIBM)
|
celt_tests_test_unit_mdct_LDADD = $(LIBM)
|
||||||
|
|
||||||
celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
|
celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
|
||||||
celt_tests_test_unit_rotation_LDADD = $(LIBM)
|
celt_tests_test_unit_rotation_LDADD = $(LIBM)
|
||||||
|
if CPU_ARM
|
||||||
|
if OPUS_ARM_EXTERNAL_ASM
|
||||||
|
celt_tests_test_unit_rotation_LDADD += libopus.la
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c
|
celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c
|
||||||
celt_tests_test_unit_types_LDADD = $(LIBM)
|
celt_tests_test_unit_types_LDADD = $(LIBM)
|
||||||
|
|
|
@ -56,6 +56,8 @@
|
||||||
#include "x86/celt_lpc_sse.c"
|
#include "x86/celt_lpc_sse.c"
|
||||||
#endif
|
#endif
|
||||||
#include "x86/x86_celt_map.c"
|
#include "x86/x86_celt_map.c"
|
||||||
|
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
|
||||||
|
#include "arm/arm_celt_map.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FIXED_POINT
|
#ifdef FIXED_POINT
|
||||||
|
|
|
@ -54,6 +54,8 @@
|
||||||
#include "x86/celt_lpc_sse.c"
|
#include "x86/celt_lpc_sse.c"
|
||||||
#endif
|
#endif
|
||||||
#include "x86/x86_celt_map.c"
|
#include "x86/x86_celt_map.c"
|
||||||
|
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
|
||||||
|
#include "arm/arm_celt_map.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX_SIZE 100
|
#define MAX_SIZE 100
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue