Skip to content
Snippets Groups Projects
Commit fd562eef authored by Tristan Matthews's avatar Tristan Matthews
Browse files

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

parent 32ff38bc
No related branches found
Tags v1.1.1-beta
No related merge requests found
......@@ -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_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_LDADD = $(LIBM)
celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
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_LDADD = $(LIBM)
......
......@@ -56,6 +56,8 @@
#include "x86/celt_lpc_sse.c"
#endif
#include "x86/x86_celt_map.c"
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
#include "arm/arm_celt_map.c"
#endif
#ifdef FIXED_POINT
......
......@@ -54,6 +54,8 @@
#include "x86/celt_lpc_sse.c"
#endif
#include "x86/x86_celt_map.c"
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
#include "arm/arm_celt_map.c"
#endif
#define MAX_SIZE 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment