From eea34fabd6bf6d14977dc15296303ed3d688ea8e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 8 Mar 2018 16:10:26 +0100 Subject: [PATCH] gdb: fix static option. --- srcpkgs/gdb/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"