gdb: fix static option.

This commit is contained in:
Leah Neukirchen 2018-03-08 16:10:26 +01:00
parent 236c970150
commit eea34fabd6

View file

@ -7,7 +7,8 @@ build_style=gnu-configure
pycompile_dirs="/usr/share/gdb"
configure_args="--disable-werror --disable-nls --with-system-readline
--with-system-gdbinit=/etc/gdb/gdbinit --with-system-zlib $(vopt_enable gdbserver)
$(vopt_if static 'CFLAGS=-static') $(vopt_with python)"
$(vopt_if static 'CFLAGS=-static CXXFLAGS=-static LDFLAGS=-static')
$(vopt_with python)"
hostmakedepends="perl $(vopt_if python python-devel)"
makedepends="ncurses-devel zlib-devel readline-devel expat-devel $(vopt_if python python-devel)"
short_desc="The GNU Debugger"