fix: patches for arm64 (#15)

This commit is contained in:
Daniel Lando 2024-01-03 10:06:50 +01:00 committed by GitHub
parent 1461d596fa
commit c7dff09919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ index de409a31f3..d26e4366ad 100644
'conditions': [
+ ['target_arch=="arm64"', {
+ 'cflags': ['-msign-return-address=all'], # Pointer authentication.
+ 'cflags': ['-mbranch-protection=standard'], # Pointer authentication.
+ }],
['OS=="aix"', {
'ldflags': [

View File

@ -328,7 +328,7 @@ index 6b554d75d8..fce4eb4bd5 100644
'conditions': [
+ ['target_arch=="arm64"', {
+ 'cflags': ['-msign-return-address=all'], # Pointer authentication.
+ 'cflags': ['-mbranch-protection=standard'], # Pointer authentication.
+ }],
['OS in "aix os400"', {
'ldflags': [

View File

@ -328,7 +328,7 @@ index 2e41a7bb22..6131b75467 100644
'conditions': [
+ ['target_arch=="arm64"', {
+ 'cflags': ['-msign-return-address=all'], # Pointer authentication.
+ 'cflags': ['-mbranch-protection=standard'], # Pointer authentication.
+ }],
['OS in "aix os400"', {
'ldflags': [