Commit fd562eef authored by Tristan Matthews's avatar Tristan Matthews

tests: fix linking for --enable-fixed-point on ARM

parent 32ff38bc
...@@ -106,12 +106,22 @@ celt_tests_test_unit_laplace_LDADD = $(LIBM) ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment