1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-22 10:19:36 +01:00
nix/nix-meson-build-support
Sergei Zimmerman 14a5e2a4a3 meson: Correctly handle endianness for PowerPC CPU families
I've missed this while reviewing 6db6190002.
I only built big endian ppc64, so that didn't occur to me.

From meson manual:

> Those porting from autotools should note that Meson does not add
> endianness to the name of the cpu_family. For example, autotools will
> call little endian PPC64 "ppc64le", Meson will not, you must also check
> the .endian() value of the machine for this information.

This code should handle that correctly.

(cherry picked from commit ebd311b7b7)
2025-07-23 20:36:39 +00:00
..
big-objs Only enable big-obj on Windows 2025-02-01 21:36:50 +11:00
common Add -Wundef to make #if FOO an error if not defined 2025-04-05 13:44:58 +02:00
default-system-cpu meson: Correctly handle endianness for PowerPC CPU families 2025-07-23 20:36:39 +00:00
deps-lists rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
export Separate headers from source files 2025-03-31 18:04:04 -04:00
export-all-symbols rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
generate-header rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
libatomic rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
subprojects rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
windows-version rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00