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 795100 - Meson: Review cross compilation properties
Meson: Review cross compilation properties
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: build
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks: 790954
 
 
Reported: 2018-04-09 13:29 UTC by Xavier Claessens
Modified: 2018-05-24 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2018-04-09 13:29:43 UTC
GLib's doc list all those properties that can be set in the env for cross compilations:

glib_cv_long_long_format=[ll/q/I64]
glib_cv_stack_grows=[yes/no]
glib_cv_working_bcopy=[yes/no]
glib_cv_sane_realloc=[yes/no]
glib_cv_have_strlcpy=[yes/no]
glib_cv_have_qsort_r=[yes/no]
glib_cv_va_val_copy=[yes/no]
glib_cv_rtldglobal_broken=[yes/no]
glib_cv_uscore=[yes/no]
ac_cv_func_posix_getpwuid_r=[yes/no]
ac_cv_func_nonposix_getpwuid_r=[yes/no]
ac_cv_func_posix_getgrgid_r=[yes/no]
glib_cv_use_pid_surrogate=[yes/no]
ac_cv_func_printf_unix98=[yes/no]
ac_cv_func_vsnprintf_c99=[yes/no]

In meson we should use meson.get_cross_property() and document that user can define those variables in cross file's [properties] section.
Comment 1 GNOME Infrastructure Team 2018-05-24 20:23:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME'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.gnome.org/GNOME/glib/issues/1363.