mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
43 lines
1.6 KiB
Makefile
43 lines
1.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
PKG_NAME="gdb"
|
|
PKG_VERSION="8.1"
|
|
PKG_SHA256="af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.gnu.org/software/gdb/"
|
|
PKG_URL="http://ftpmirror.gnu.org/gdb/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain zlib ncurses expat"
|
|
PKG_SECTION="debug"
|
|
PKG_SHORTDESC="gdb: The GNU Debugger"
|
|
PKG_LONGDESC="The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed."
|
|
# gdb could fail on runtime if build with LTO support
|
|
|
|
CC_FOR_BUILD="$HOST_CC"
|
|
CFLAGS_FOR_BUILD="$HOST_CFLAGS"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="bash_cv_have_mbstate_t=set \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--with-auto-load-safe-path=/ \
|
|
--disable-nls \
|
|
--disable-sim \
|
|
--without-x \
|
|
--disable-tui \
|
|
--disable-libada \
|
|
--without-lzma \
|
|
--disable-libquadmath \
|
|
--disable-libquadmath-support \
|
|
--enable-libada \
|
|
--enable-libssp \
|
|
--disable-werror"
|
|
|
|
makeinstall_target() {
|
|
make DESTDIR=$INSTALL install
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf $INSTALL/usr/share/gdb/python
|
|
}
|