From 9cc6599056e59a0e081360f79465888868da6ed7 Mon Sep 17 00:00:00 2001 From: Christoph Conrads Date: Thu, 10 Aug 2017 11:34:21 -0400 Subject: [PATCH] ARM: do not add linker flag `-lm` unconditionally On ARM the required math library depends on whether the soft floating point ABI is used or not but this is already handled in `Makefile.system`, lines 499-505. --- Makefile.system | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile.system b/Makefile.system index bd361a1..102a727 100644 --- a/Makefile.system +++ b/Makefile.system @@ -242,10 +242,6 @@ EXTRALIB += -lm NO_EXPRECISION = 1 endif -ifeq ($(OSNAME), Android) -EXTRALIB += -lm -endif - ifeq ($(OSNAME), AIX) EXTRALIB += -lm endif -- 2.7.4