~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb958a2
)
picolisp: 32-bit C code cannot be built by clang
author
Fredrik Fornwall
<fredrik@fornwall.net>
Thu, 19 Jan 2017 05:11:00 +0000
(06:11 +0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Thu, 19 Jan 2017 05:11:00 +0000
(06:11 +0100)
packages/picolisp/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/picolisp/build.sh
b/packages/picolisp/build.sh
index
61d473b
..
75d8324
100644
(file)
--- a/
packages/picolisp/build.sh
+++ b/
packages/picolisp/build.sh
@@
-12,6
+12,10
@@
TERMUX_PKG_FOLDERNAME=picoLisp
TERMUX_PKG_BUILD_IN_SRC=true
# The assembly is not position-independent (would be a major rewrite):
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
+if [ $TERMUX_ARCH_BITS = 32 ]; then
+ # "Variable length array in structure won't be supported"
+ TERMUX_PKG_CLANG=no
+fi
termux_step_pre_configure() {
# Validate that we have the right version: