Blame SOURCES/valgrind-3.14.0-fix-tests-arm.patch

71f454
diff -Naurp a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
71f454
--- a/none/tests/arm/Makefile.am	2017-06-15 13:41:33.000000000 +0000
71f454
+++ b/none/tests/arm/Makefile.am	2018-04-14 10:51:37.821525500 +0000
71f454
@@ -62,10 +62,14 @@ v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0
71f454
 v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
71f454
 
71f454
 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm
71f454
+v8crypto_a_LDADD  = $(LDADD) -lm
71f454
 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb
71f454
+v8crypto_t_LDADD  = $(LDADD) -lm
71f454
 
71f454
 v8fpsimd_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm
71f454
+v8fpsimd_a_LDADD  = $(LDADD) -lm
71f454
 v8fpsimd_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb
71f454
+v8fpsimd_t_LDADD  = $(LDADD) -lm
71f454
 
71f454
 v8memory_a_CFLAGS = $(AM_CFLAGS) -g -O0 \
71f454
 			-march=armv8-a -mfpu=crypto-neon-fp-armv8 -marm
71f454
diff -Naurp a/none/tests/arm/Makefile.in b/none/tests/arm/Makefile.in
71f454
--- a/none/tests/arm/Makefile.in	2017-06-15 13:41:33.000000000 +0000
71f454
+++ b/none/tests/arm/Makefile.in	2018-04-14 10:51:37.821525500 +0000
71f454
@@ -184,22 +184,22 @@ v6media_LINK = $(CCLD) $(v6media_CFLAGS)
71f454
 	$(LDFLAGS) -o $@
71f454
 v8crypto_a_SOURCES = v8crypto_a.c
71f454
 v8crypto_a_OBJECTS = v8crypto_a-v8crypto_a.$(OBJEXT)
71f454
-v8crypto_a_LDADD = $(LDADD)
71f454
+v8crypto_a_LDADD = $(LDADD) -lm
71f454
 v8crypto_a_LINK = $(CCLD) $(v8crypto_a_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
71f454
 	$(LDFLAGS) -o $@
71f454
 v8crypto_t_SOURCES = v8crypto_t.c
71f454
 v8crypto_t_OBJECTS = v8crypto_t-v8crypto_t.$(OBJEXT)
71f454
-v8crypto_t_LDADD = $(LDADD)
71f454
+v8crypto_t_LDADD = $(LDADD) -lm
71f454
 v8crypto_t_LINK = $(CCLD) $(v8crypto_t_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
71f454
 	$(LDFLAGS) -o $@
71f454
 v8fpsimd_a_SOURCES = v8fpsimd_a.c
71f454
 v8fpsimd_a_OBJECTS = v8fpsimd_a-v8fpsimd_a.$(OBJEXT)
71f454
-v8fpsimd_a_LDADD = $(LDADD)
71f454
+v8fpsimd_a_LDADD = $(LDADD) -lm
71f454
 v8fpsimd_a_LINK = $(CCLD) $(v8fpsimd_a_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
71f454
 	$(LDFLAGS) -o $@
71f454
 v8fpsimd_t_SOURCES = v8fpsimd_t.c
71f454
 v8fpsimd_t_OBJECTS = v8fpsimd_t-v8fpsimd_t.$(OBJEXT)
71f454
-v8fpsimd_t_LDADD = $(LDADD)
71f454
+v8fpsimd_t_LDADD = $(LDADD) -lm
71f454
 v8fpsimd_t_LINK = $(CCLD) $(v8fpsimd_t_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
71f454
 	$(LDFLAGS) -o $@
71f454
 v8memory_a_SOURCES = v8memory_a.c