mirror of
https://github.com/matrix-construct/construct
synced 2025-01-22 12:30:00 +01:00
configure: Prevent unsupported march=native on clang-14 aarch64.
This commit is contained in:
parent
922db35dd5
commit
193d87ef76
1 changed files with 12 additions and 0 deletions
12
configure.ac
12
configure.ac
|
@ -801,6 +801,18 @@ MACHINE_FLAGS=""
|
|||
dnl Initial machine
|
||||
machine_arch="native"
|
||||
machine_tune="native"
|
||||
|
||||
AM_COND_IF([CLANG],
|
||||
[
|
||||
AS_IF([test "$CXX_EPOCH" -lt "15"],
|
||||
[
|
||||
AS_IF([test "$host_cpu" = "aarch64"],
|
||||
[
|
||||
machine_arch=""
|
||||
])
|
||||
])
|
||||
])
|
||||
|
||||
AM_COND_IF([GENERIC],
|
||||
[
|
||||
machine_tune="generic"
|
||||
|
|
Loading…
Add table
Reference in a new issue