Summary: | media-libs/raptor-1.4.16 fails to build - need for libmath -lm gcc option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Bessai <Jan.Bessai> |
Component: | [OLD] Library | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asolokha |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
raptor-1.4.16.ebuild
raptor-lm.patch |
Description
Jan Bessai
2007-10-12 18:28:37 UTC
Created attachment 133320 [details]
raptor-1.4.16.ebuild
Proposed ebuild:
Working on X86 (it had the same issue here).
I just used flag-o-matic and added "append-ldflags -lm"
line at start of src_compile()
(In reply to comment #1) > I just used flag-o-matic and added "append-ldflags -lm" wont that fail with --as-needed ? Comment on attachment 133320 [details] raptor-1.4.16.ebuild That's the way suggested at: http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html However you're right according to: http://www.gentoo.org/proj/en/qa/asneeded.xml the -lm flag is no more inserted with append-ldflags, checking what other did. Created attachment 133324 [details, diff]
raptor-lm.patch
I don't know how much it's hackish, but this for sure avoid putting -lm
before --as-needed.
should be fixed now, I just appended -lm to LIBS variable which is used for linking. also sent a different patch upstream *** Bug 195738 has been marked as a duplicate of this bug. *** |