After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791670 - Meson: Fix environment when cross building
Meson: Fix environment when cross building
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 789316
Blocks:
 
 
Reported: 2017-12-16 02:36 UTC by Xavier Claessens
Modified: 2018-11-03 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2017-12-16 02:36:19 UTC
When cross building with meson, the env must contain the host toolchain and the target tool chain must be written in a config file.

Currently cerbero always set the target toolchain in env so build.py has an ugly hack that unset CC and CXX variables when cross building.

A proper fix is probably to load both envs in config.py and switch env depending on the recipe being built.
Comment 1 GStreamer system administrator 2018-11-03 10:22:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/48.