Summary: | dev-libs/nspr-4.35-r1 fails to compile: configure: error: invalid feature name: optimize=-O2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 845856 [details]
build.log
build log and emerge --info
Right, it doesn't work when 'debug' is enabled. I wonder if these debug options are better moved inside "if use debug; then" block, or if something like $(use_enable !debug debug optimize="${my_optlvl}") works... (away from home so I won't test this in a week or so) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1150b0c245c9c371355c6a94a4eaec020fecd19 commit e1150b0c245c9c371355c6a94a4eaec020fecd19 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-01-21 08:21:52 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-01-21 08:34:05 +0000 dev-libs/nspr: disable 'optimize' when 'debug' is enabled Closes: https://bugs.gentoo.org/888972 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/nspr/nspr-4.35-r1.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) |