GNOME Bugzilla – Bug 692601
Support universal builds through __BIG_ENDIAN__ and __LITTLE_ENDIAN__
Last modified: 2018-05-24 14:57:44 UTC
Created attachment 234497 [details] [review] Proposed patch On Darwin, Apple provides the __BIG_ENDIAN__ and __LITTLE_ENDIAN__ defines. These allow to select the endianness at compile-time which is necessary when compiling for multiple architectures. The proposed patch allows the building of universal binaries for Mac OSX. When neither __BIG_ENDIAN__ nor __LITTLE_ENDIAN__ are defined, we fall back to the endianess determined by the configure script. Thus, the change will not harm the building for any other host.
*** Bug 708703 has been marked as a duplicate of this bug. ***
-- 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/659.