gdb: rename gdbstatic option to static.

This commit is contained in:
Juan RP 2014-07-12 18:31:47 +02:00
parent 0ff685727a
commit 5e81d61603

View file

@ -1,7 +1,7 @@
# Template file for 'gdb'
pkgname=gdb
version=7.7.1
revision=3
revision=4
patch_args="-Np1"
build_style=gnu-configure
configure_args="--disable-werror --disable-nls --with-system-readline --with-system-gdbinit=/etc/gdb/gdbinit"
@ -16,9 +16,8 @@ distfiles="http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.bz2"
checksum=0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5
# Package build options
build_options="gdbserver gdbstatic"
build_options="gdbserver static"
desc_option_gdbserver="Enable support for building GDB server"
desc_option_gdbstatic="Enable support for building GDB statically"
# Enable gdbserver if !static.
build_options_default="gdbserver"
@ -29,11 +28,11 @@ else
configure_args+=" --enable-gdbserver=no"
fi
if [ "$build_option_gdbstatic" ]; then
if [ "$build_option_static" ]; then
configure_args+=" CFLAGS=-static"
fi
if [ "$build_option_gdbserver" -a "$build_option_gdbstatic" ]; then
if [ "$build_option_gdbserver" -a "$build_option_static" ]; then
msg_error "$pkgver: gdbserver and static options cannot be enabled at the same time!\n"
fi