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:
9d7fe75
)
ltrace: Fix clang build
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 15 Jan 2017 20:30:34 +0000
(21:30 +0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 15 Jan 2017 20:30:34 +0000
(21:30 +0100)
packages/ltrace/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/ltrace/build.sh
b/packages/ltrace/build.sh
index c808170ce9edb7d346f3ed06bd1f2f7670b1e830..513530b43903ef9a5b547df9c97ca0aa9d09ec81 100644
(file)
--- a/
packages/ltrace/build.sh
+++ b/
packages/ltrace/build.sh
@@
-6,12
+6,12
@@
_COMMIT=2def9f1217374cc8371105993003b2c663aefda7
TERMUX_PKG_SRCURL=https://github.com/dkogan/ltrace/archive/${_COMMIT}.zip
TERMUX_PKG_FOLDERNAME=ltrace-${_COMMIT}
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_host=$TERMUX_ARCH-generic-linux-gnu"
TERMUX_PKG_SRCURL=https://github.com/dkogan/ltrace/archive/${_COMMIT}.zip
TERMUX_PKG_FOLDERNAME=ltrace-${_COMMIT}
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_host=$TERMUX_ARCH-generic-linux-gnu"
+# Needed for clang build:
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-werror"
termux_step_pre_configure () {
termux_step_pre_configure () {
- CFLAGS+=" -Wno-error=maybe-uninitialized"
- # rindex is obsolete name of strrchr which is not available in Android
- # function signature stays same, so I'm replacing it with C preprocessor
- # instead of patch
+ #CFLAGS+=" -Wno-error=maybe-uninitialized"
+ # rindex is obsolete name of strrchr which is not available in Android:
CFLAGS+=" -Drindex=strrchr"
autoreconf -i ../src
CFLAGS+=" -Drindex=strrchr"
autoreconf -i ../src