diff --git a/recipes/mesa/recipe.toml b/recipes/mesa/recipe.toml index 18688f35c28f4d42a4d92c2d97dfb4730a86ffb7..37bbd16ec757bfd8e5c984c80def14f6a193eba6 100644 --- a/recipes/mesa/recipe.toml +++ b/recipes/mesa/recipe.toml @@ -30,8 +30,8 @@ echo "llvm-config = '${TARGET}-llvm-config'" >> cross_file.txt echo "[host_machine]" >> cross_file.txt echo "system = 'redox'" >> cross_file.txt -echo "cpu_family = 'x86_64'" >> cross_file.txt -echo "cpu = 'x86_64'" >> cross_file.txt +echo "cpu_family = '$(echo "${TARGET}" | cut -d - -f1)'" >> cross_file.txt +echo "cpu = '$(echo "${TARGET}" | cut -d - -f1)'" >> cross_file.txt echo "endian = 'little'" >> cross_file.txt echo "[paths]" >> cross_file.txt