mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
zfs: unbreak aarch64 build with non-gcc compilers
Vendor did not backport this fix into zfs-2.2-release yet. OpenZFS PR: #1610335bf25848Fix: FreeBSD Arm64 does not build currently (cherry picked from commitb9dee1dca2)
This commit is contained in:
parent
3a8e15354e
commit
7e10c2d27a
2 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#if defined(__aarch64__)
|
||||
|
||||
/* make gcc <= 9 happy */
|
||||
#if LD_VERSION >= 233010000
|
||||
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
|
||||
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
|
||||
#else
|
||||
#define CFI_NEGATE_RA_STATE
|
||||
|
|
@ -2066,4 +2066,4 @@ zfs_blake3_hash_many_sse2:
|
|||
.size zfs_blake3_hash_many_sse2, .Lfunc_end3-zfs_blake3_hash_many_sse2
|
||||
.cfi_endproc
|
||||
.section ".note.GNU-stack","",@progbits
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#if defined(__aarch64__)
|
||||
|
||||
/* make gcc <= 9 happy */
|
||||
#if LD_VERSION >= 233010000
|
||||
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
|
||||
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
|
||||
#else
|
||||
#define CFI_NEGATE_RA_STATE
|
||||
|
|
@ -2403,4 +2403,4 @@ zfs_blake3_hash_many_sse41:
|
|||
.size zfs_blake3_hash_many_sse41, .Lfunc_end3-zfs_blake3_hash_many_sse41
|
||||
.cfi_endproc
|
||||
.section ".note.GNU-stack","",@progbits
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue