17 lines
662 B
Makefile
17 lines
662 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="valgrind"
|
|
PKG_VERSION="3.21.0"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://valgrind.org/"
|
|
PKG_URL="https://sourceware.org/pub/valgrind/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="A tool to help find memory-management problems in programs"
|
|
|
|
if [ "${TARGET_ARCH}" = "arm" ]; then
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-only32bit"
|
|
elif [ "${TARGET_ARCH}" = "aarch64" -o "${TARGET_ARCH}" = "x86_64" ]; then
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-only64bit"
|
|
fi
|