projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6515bb
)
Link -lm or -lm_hard for Android ARMv7.
author
Zhang Xianyi
<xianyi@perfxlab.com>
Wed, 5 Jul 2017 09:01:03 +0000
(17:01 +0800)
committer
Zhang Xianyi
<xianyi@perfxlab.com>
Wed, 5 Jul 2017 09:05:06 +0000
(17:05 +0800)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index 29d3efd53b26726ff1132a57624e8d1b011ca570..bb55dd6936705a192a3d6d407c962fb102ace0ae 100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-493,6
+493,14
@@
else
CCOMMON_OPT += -mfloat-abi=hard
FCOMMON_OPT += -mfloat-abi=hard
endif
+
+ifeq ($(OSNAME), Android)
+ifeq ($(ARM_SOFTFP_ABI), 1)
+EXTRALIB += -lm
+else
+EXTRALIB += -Wl,-lm_hard
+endif
+endif
endif
ifeq ($(ARCH), arm64)