package: gentoo: Select build type through debug USE flag
Make the build type selectable between debug and plain through the debug USE flag. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
c352419371
commit
a000a1f6e3
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ EGIT_BRANCH="master"
|
||||||
LICENSE="LGPL-2.1+"
|
LICENSE="LGPL-2.1+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="*"
|
KEYWORDS="*"
|
||||||
IUSE="doc test udev"
|
IUSE="debug doc test udev"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=net-libs/gnutls-3.3:=
|
>=net-libs/gnutls-3.3:=
|
||||||
|
@ -31,6 +31,7 @@ src_configure() {
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
$(meson_feature doc documentation)
|
$(meson_feature doc documentation)
|
||||||
$(meson_use test)
|
$(meson_use test)
|
||||||
|
--buildtype $(usex debug debug plain)
|
||||||
)
|
)
|
||||||
meson_src_configure
|
meson_src_configure
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue