Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Selective FEATURES="nostrip" for a package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kresp
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2016
Posts: 77

PostPosted: Mon Feb 18, 2019 4:08 am    Post subject: [SOLVED] Selective FEATURES="nostrip" for a packag Reply with quote

I need the debug info for some packages, but only for a few of them (glibc, most notably).
There's no need to keep all of it for every single package though.

Some variables from make.conf can be expanded into use flags. Ex:
Code:

/etc/portage/make.conf
21:PYTHON_SINGLE_TARGET="python3_6"

/etc/portage/package.use/asciidoc
1:app-text/asciidoc   python_single_target_python2_7


But this does not appear to work with FEATURES.
Is there a way to work around this, so I don't have to manually add nostrip, rebuild, and remove nostrip again every time one of those packages needs to be updated.


Last edited by Kresp on Mon Feb 18, 2019 9:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Feb 18, 2019 6:23 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum