X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id E513A5C553B for ; Fri, 16 Jun 2017 14:09:33 +0000 (GMT) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id B98539E21E0; Fri, 16 Jun 2017 14:09:33 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (15.63.200.37.customer.cdi.no [37.200.63.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 86A339E21DE; Fri, 16 Jun 2017 14:09:32 +0000 (GMT) Date: Fri, 16 Jun 2017 16:09:26 +0200 From: Natanael Copa To: Alba Pompeo Cc: alpine-dev Subject: Re: [alpine-devel] [abuild RFC] abuild: add config option to globally enable dbg Message-ID: <20170616160926.6b71801a@ncopa-desktop.copa.dup.pw> In-Reply-To: References: <20170616094140.21953-1-clandmeter@gmail.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 16 Jun 2017 09:24:10 -0300 Alba Pompeo wrote: > Why not create a dbgs metapackage like the docs metapackage? > https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n1476 > https://git.alpinelinux.org/cgit/aports/tree/main/docs/APKBUILD Why would someome want install all the -dbg packages? -nc > > > > > On Fri, Jun 16, 2017 at 6:41 AM, Carlo Landmeter wrote: > > --- > > abuild.in | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/abuild.in b/abuild.in > > index 1db1a4a..ff37162 100644 > > --- a/abuild.in > > +++ b/abuild.in > > @@ -2317,6 +2317,11 @@ fi > > # for recursive action > > export REPODEST SRCDEST > > > > +# add dbg subpackage if its enabled globally > > +if [ -n "$DEFAULT_DBG" ] && ! subpackage_types_has "dbg" && ! options_has "!dbg" && [ "$arch" != "noarch" ]; then > > + subpackages="$pkgname-dbg $subpackages" > > +fi > > + > > # if we want build debug package > > if [ -n "$DEBUG" ] || subpackage_types_has "dbg"; then > > CFLAGS="$CFLAGS -g" > > -- > > 2.13.1 > > > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---