mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-24 20:50:47 +00:00
fix(root/keyutils): Fix build with current toolchain
This commit is contained in:
@@ -3,11 +3,13 @@ TERMUX_PKG_DESCRIPTION="Utilities to control the kernel key management facility"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.6.3
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=a61d5706136ae4c05bd48f86186bcfdbd88dd8bd5107e3e195c924cfc1b39bb4
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CPPFLAGS+=" -Dindex=strchr -Drindex=strrchr"
|
||||
# From https://bugs.gentoo.org/914637 to fix build with current toolchain:
|
||||
LDFLAGS+=" -Wl,--undefined-version"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user