mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1847101 - Define WORDS_BIGENDIAN when targeting big endians. r=firefox-build-system-reviewers,ahochheiden, a=RyanVM
Some third party code (cairo, pixman, some media libs) rely on this define being set. When they are built standalone, they get it from autoconf, but we don't run their configure scripts, so that's missed. Differential Revision: https://phabricator.services.mozilla.com/D185351
This commit is contained in:
parent
a1b66923b5
commit
e997d18600
@ -782,6 +782,11 @@ set_config("HAVE_64BIT_BUILD", have_64_bit)
|
||||
set_define("HAVE_64BIT_BUILD", have_64_bit)
|
||||
add_old_configure_assignment("HAVE_64BIT_BUILD", have_64_bit)
|
||||
|
||||
# Some third-party code bases depend on this being set for big-endians.
|
||||
set_define(
|
||||
"WORDS_BIGENDIAN", True, when=depends(target.endianness)(lambda e: e == "big")
|
||||
)
|
||||
|
||||
|
||||
# Autoconf needs these set
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user