Files
Arch-R/packages/debug/valgrind/package.mk
Sascha Kuehndel (InuSasha) 3846ec7dac buildsystem: replace PKG_AUTORECONF
2017-11-22 00:41:12 +01:00

40 lines
1.6 KiB
Makefile

################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="valgrind"
PKG_VERSION="3.12.0"
PKG_SHA256="67ca4395b2527247780f36148b084f5743a68ab0c850cb43e4a5b4b012cf76a1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://valgrind.org/"
PKG_URL="http://valgrind.org/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="debug"
PKG_SHORTDESC="A tool to help find memory-management problems in programs"
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
pre_configure_target() {
strip_lto
}