From 1496d74ccef1141bbefd78ff70a7c92c1c3ffedc Mon Sep 17 00:00:00 2001 From: Adam Pimentel Date: Fri, 9 Dec 2022 21:46:20 -0500 Subject: [PATCH] net-p2p/feather: ditto for live ebuild Signed-off-by: Adam Pimentel --- net-p2p/feather/feather-9999.ebuild | 45 ++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/net-p2p/feather/feather-9999.ebuild b/net-p2p/feather/feather-9999.ebuild index c8d4d36b4f..af882e78f9 100644 --- a/net-p2p/feather/feather-9999.ebuild +++ b/net-p2p/feather/feather-9999.ebuild @@ -45,20 +45,37 @@ RDEPEND=" BDEPEND="virtual/pkgconfig" src_configure() { - local mycmakeargs=( - -DARCH=x86-64 - -DBUILD_64=ON - -DBUILD_TAG="linux-x64" - -DDONATE_BEG=OFF - -DMANUAL_SUBMODULES=1 - -DSTATIC=OFF - -DSELF_CONTAINED=OFF - -DUSE_DEVICE_TREZOR=OFF - -DXMRIG=$(usex xmrig) - -DWITH_SCANNER=$(usex qrcode) - -DVERSION_IS_RELEASE=true - ) - + if has nostrip $FEATURES ; then + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=Debug + -DARCH=x86-64 + -DBUILD_64=ON + -DBUILD_TAG="linux-x64" + -DDONATE_BEG=OFF + -DMANUAL_SUBMODULES=1 + -DSTATIC=OFF + -DSELF_CONTAINED=OFF + -DUSE_DEVICE_TREZOR=OFF + -DXMRIG=$(usex xmrig) + -DWITH_SCANNER=$(usex qrcode) + -DVERSION_IS_RELEASE=true + ) + else + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=Release + -DARCH=x86-64 + -DBUILD_64=ON + -DBUILD_TAG="linux-x64" + -DDONATE_BEG=OFF + -DMANUAL_SUBMODULES=1 + -DSTATIC=OFF + -DSELF_CONTAINED=OFF + -DUSE_DEVICE_TREZOR=OFF + -DXMRIG=$(usex xmrig) + -DWITH_SCANNER=$(usex qrcode) + -DVERSION_IS_RELEASE=true + ) + fi cmake_src_configure }