diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-04 01:46:23 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-04 01:46:23 +0000 |
commit | d13006cca857323814c09f5123b87c1a005bba74 (patch) | |
tree | ca4a24c0b40356fb7efce3e245882a9e87b5db3c /eclass/tests | |
parent | eab7afdf0fe1454220af1a74c5556855a937a819 (diff) |
Diffstat (limited to 'eclass/tests')
-rwxr-xr-x | eclass/tests/zig-utils.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 ${?} |