| Summary: | meson.eclass: recent commits break cross-compiling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Michael <fedora.dm0> |
| Component: | Eclasses | Assignee: | Mike Gilbert <floppym> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | williamh |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cross file
native file |
||
|
Description
David Michael
2020-05-03 14:55:57 UTC
Created attachment 635844 [details]
cross file
Created attachment 635846 [details]
native file
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8d90f4ac9df93020014604a39cdca6b8356cce commit 2c8d90f4ac9df93020014604a39cdca6b8356cce Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-05-03 15:18:12 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-05-03 15:18:12 +0000 meson.eclass: only default BUILD_FLAGS to FLAGS if not cross-compiling Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/meson.eclass | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e82b49474c55d7a0d277d3d522fd490c151f7b8 commit 8e82b49474c55d7a0d277d3d522fd490c151f7b8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-05-03 15:30:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-05-03 15:31:05 +0000 meson.eclass: unset FLAGS before calling meson setup Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/meson.eclass | 3 +++ 1 file changed, 3 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d797a28c901c6262835b3a1d29ad8e192e9c1ecd commit d797a28c901c6262835b3a1d29ad8e192e9c1ecd Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-05-03 17:25:56 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-05-03 17:25:56 +0000 meson.eclass: use export -n instead of unset This ensures the variables are still availble if the configure function is called more than once, as would happen for a multilib build. Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/meson.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |