chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed76f15
)
libmpfr: Build with gcc for i686
author
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 9 Feb 2018 00:22:17 +0000
(
01:22
+0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 9 Feb 2018 00:22:17 +0000
(
01:22
+0100)
This works around a clang internal failure.
packages/libmpfr/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/libmpfr/build.sh
b/packages/libmpfr/build.sh
index cfb416e51172abd213072e6e0228f7a1e98f14ac..9bd9f7719520d96d3f9575af5c8b76f1bc62ce7f 100755
(executable)
--- a/
packages/libmpfr/build.sh
+++ b/
packages/libmpfr/build.sh
@@
-5,3
+5,7
@@
TERMUX_PKG_VERSION=4.0.1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/mpfr/mpfr-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_locale_h=no"
+if [ $TERMUX_ARCH = i686 ]; then
+ # Avoid clang bug with NDK r16:
+ TERMUX_PKG_CLANG=no
+fi