fix: patches for arm64 (#15)
This commit is contained in:
parent
1461d596fa
commit
c7dff09919
@ -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': [
|
||||
|
||||
@ -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': [
|
||||
|
||||
@ -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': [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user