Skip to content

Commit

Permalink
config/functions: set build cpu in meson.conf to MACHINE_HARDWARE_NAME
Browse files Browse the repository at this point in the history
This is also what meson does by default on Linux as Linux doesn't
support reporting CPU type.

Signed-off-by: Matthias Reichl <hias@horus.com>
  • Loading branch information
HiassofT committed Jun 30, 2022
1 parent 9d771a5 commit 210049e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/functions
Original file line number Diff line number Diff line change
Expand Up @@ -511,13 +511,13 @@ libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
[build_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_CPU}'
cpu = '${MACHINE_HARDWARE_NAME}'
endian = 'little'

[host_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_CPU}'
cpu = '${MACHINE_HARDWARE_NAME}'
endian = 'little'

[built-in options]
Expand Down Expand Up @@ -549,7 +549,7 @@ libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
[build_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_CPU}'
cpu = '${MACHINE_HARDWARE_NAME}'
endian = 'little'

[host_machine]
Expand Down

0 comments on commit 210049e

Please sign in to comment.