compile using clang
This commit is contained in:
parent
6c2ef00842
commit
f0ee3a4508
@ -6,4 +6,9 @@ TERMUX_PKG_SHA256=aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a08
|
||||
TERMUX_PKG_DEPENDS="libandroid-support"
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
TERMUX_PKG_HOSTBUILD=true
|
||||
TERMUX_PKG_CLANG=no
|
||||
termux_step_post_extract_package() {
|
||||
# this should detect if we are running inside termux docker image
|
||||
if [ $HOME = "/home/builder" ] && [ "grep docker /proc/1/cgroup > /dev/null" ]; then
|
||||
sudo apt install texi2html
|
||||
fi
|
||||
}
|
||||
|
20
packages/indent/lexi.c.patch
Normal file
20
packages/indent/lexi.c.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- ../cache/indent-2.2.11/src/lexi.c 2009-11-11 19:36:32.000000000 +0000
|
||||
+++ ./src/lexi.c 2018-03-12 23:14:07.881637140 +0000
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
/* Include code generated by gperf */
|
||||
#ifdef __GNUC__
|
||||
-__inline
|
||||
+static __inline
|
||||
#endif
|
||||
templ_ty *is_reserved (const char *str, unsigned int len);
|
||||
|
||||
@@ -213,7 +213,7 @@
|
||||
#undef MAX_WORD_LENGTH
|
||||
|
||||
#ifdef __GNUC__
|
||||
-__inline
|
||||
+static __inline
|
||||
#endif
|
||||
templ_ty *is_reserved_cc (register const char *str, register unsigned int len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user