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:
738da6d
)
binutils: Setup some arch-prefixed symlinks
author
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 2 Dec 2016 20:54:36 +0000
(15:54 -0500)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 2 Dec 2016 20:54:36 +0000
(15:54 -0500)
packages/binutils/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/binutils/build.sh
b/packages/binutils/build.sh
index be82046de17daf7979d6a207cd6646bce23fe019..c2c9d0db2b2c84c57d358129bf64e17e0c66a545 100755
(executable)
--- a/
packages/binutils/build.sh
+++ b/
packages/binutils/build.sh
@@
-1,6
+1,7
@@
-TERMUX_PKG_VERSION=2.27
-TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/binutils/
+TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/
TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
+TERMUX_PKG_VERSION=2.27
+TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror"
TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror"
TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
@@
-11,4
+12,11
@@
export LEXLIB=
termux_step_post_make_install () {
cp $TERMUX_PKG_BUILDER_DIR/ldd $TERMUX_PREFIX/bin/ldd
termux_step_post_make_install () {
cp $TERMUX_PKG_BUILDER_DIR/ldd $TERMUX_PREFIX/bin/ldd
+ cd $TERMUX_PREFIX/bin
+
+ # Setup symlinks as these are used when building, so used by
+ # system setup in e.g. python, perl and libtool:
+ for b in ar ld nm objdump ranlib readelf strip; do
+ ln -s -f $b $TERMUX_HOST_PLATFORM-$b
+ done
}
}