diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index c190c105540..7d37ab6ff79 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -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"