From d13006cca857323814c09f5123b87c1a005bba74 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Mar 2025 01:46:23 +0000 Subject: gentoo auto-resync : 04:03:2025 - 01:46:22 --- eclass/tests/zig-utils.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'eclass/tests') diff --git a/eclass/tests/zig-utils.sh b/eclass/tests/zig-utils.sh index 14af1d2105e3..3c98134b9006 100755 --- a/eclass/tests/zig-utils.sh +++ b/eclass/tests/zig-utils.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -197,6 +197,8 @@ c_to_zig_map=( # https://bugs.gentoo.org/924920 ["-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"]=generic+v7a+vfp3d16-soft_float + + ["-march=armv7-a -march=unset"]="generic-soft_float" ) test-convert_c_env_to_zig_cpu c_to_zig_map "${CHOST}" tend ${?} @@ -210,6 +212,10 @@ c_to_zig_map=( ["-march=armv8.3-a"]="generic+v8_3a" ["-mcpu=cortex-a78 -march=armv8.3-a"]="cortex_a78+v8_3a" + + ["-march=native"]="native" + ["-march=native -mtune=native"]="generic" + ["-mcpu=cortex-a78 -march=native"]="cortex_a78" ) test-convert_c_env_to_zig_cpu c_to_zig_map "${CHOST}" tend ${?} -- cgit v1.2.3