1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Development/Debuggers
11 url = http://gnu.org/software/gdb/
13 summary = A GNU source-level debugger for C, C++, Java and other languages.
16 GDB, the GNU debugger, allows you to debug programs written in C, C++,
17 Java, and other languages, by executing them in a controlled fashion
18 and printing their data.
21 source_dl = ftp://ftp.gnu.org/gnu/gdb/
22 sources = %{thisapp}.tar.xz
35 configure_options += \
36 --with-pkgversion="%{DISTRO_NAME} gdb %{thisver}" \
37 --with-bugurl="http://bugzilla.ipfire.org/" \
38 --with-system-gdbinit=/etc/gdbinit \
40 --enable-gdb-build-warnings=,-Wno-unused \
41 --with-separate-debug-dir=/usr/lib/debug \
51 --with-system-readline \
57 --without-libexpat-prefix \
62 # Remove locale data and headers which is provided by binutils.
63 rm -vrf %{BUILDROOT}%{datadir}/locale/
64 rm -vrf %{BUILDROOT}%{includedir}/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
75 package %{name}-debuginfo