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.
This commit is contained in:
parent
e6b9b660c3
commit
9cc6599056
|
@ -242,10 +242,6 @@ EXTRALIB += -lm
|
||||||
NO_EXPRECISION = 1
|
NO_EXPRECISION = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OSNAME), Android)
|
|
||||||
EXTRALIB += -lm
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(OSNAME), AIX)
|
ifeq ($(OSNAME), AIX)
|
||||||
EXTRALIB += -lm
|
EXTRALIB += -lm
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue